Changeset 394


Ignore:
Timestamp:
11/04/11 23:45:18 (12 years ago)
Author:
nanardon
Message:
  • fix non numeric condition
File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/trunk/web/lib/Sophie/Controller/Chat/Cmd.pm

    r393 r394  
    209209    # if the variable is not 'distribution', 'release' or 'arch', Sophie 
    210210    # complains and stop 
    211     if ($var != "distribution" && $var != "release" && $var != "arch") { 
     211    if ($var ne "distribution" && $var ne "release" && $var ne "arch") { 
    212212        return $c->stash->{xmlrpc} = { 
    213213            private_reply => 1, 
     
    265265    # if the variable is not 'distribution', 'release' or 'arch', Sophie 
    266266    # complains and stop 
    267     if ($var != "distribution" && $var != "release" && $var != "arch") { 
     267    if ($var ne "distribution" && $var ne "release" && $var ne "arch") { 
    268268        return $c->stash->{xmlrpc} = { 
    269269            private_reply => 1, 
Note: See TracChangeset for help on using the changeset viewer.