summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-12-10 13:08:24 -0500
committerCraig Andrews <candrews@integralblue.com>2009-12-10 13:08:24 -0500
commitb07e1143cc8f07bf0613835debe08be227970c73 (patch)
treeda5ba771a6d27ccefc99e59f00e12a03f8449037 /lib
parentc0aad854f7f17cf817f488e0f2ee57303ff75305 (diff)
Override login_token's sequenceKey() so that it behaves correctly
Diffstat (limited to 'lib')
-rw-r--r--lib/command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.php b/lib/command.php
index e2a665511..af8855a7f 100644
--- a/lib/command.php
+++ b/lib/command.php
@@ -584,7 +584,7 @@ class LoginCommand extends Command
function execute($channel)
{
$disabled = common_config('logincommand','disabled');
- if(isset($disabled)) {
+ if(isset($disabled) && $disabled) {
$channel->error($this->user, _('Login command is disabled'));
return;
}