diff options
Diffstat (limited to 'lib/command.php')
-rw-r--r-- | lib/command.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/command.php b/lib/command.php index af8855a7f..450db9da3 100644 --- a/lib/command.php +++ b/lib/command.php @@ -584,7 +584,8 @@ class LoginCommand extends Command function execute($channel) { $disabled = common_config('logincommand','disabled'); - if(isset($disabled) && $disabled) { + $disabled = isset($disabled) && $disabled; + if($disabled) { $channel->error($this->user, _('Login command is disabled')); return; } |