git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit c5da7306 authored by mmn's avatar mmn

return logic tidied up for command interpretation

parent 2bf0ec71
......@@ -298,8 +298,6 @@ class CommandInterpreter
$result = new TrackingCommand($user);
}
break;
default:
$result = false;
}
Event::handle('EndInterpretCommand', array($cmd, $arg, $user, &$result));
......
......@@ -402,9 +402,8 @@ abstract class ImPlugin extends Plugin
$chan = new IMChannel($this);
$cmd->execute($chan);
return true;
} else {
return false;
}
return false;
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment