diff --git a/lib/commandinterpreter.php b/lib/commandinterpreter.php index 2e79fb27ee..f2caf48bdb 100644 --- a/lib/commandinterpreter.php +++ b/lib/commandinterpreter.php @@ -35,8 +35,10 @@ class CommandInterpreter // There are a few compatibility commands from earlier versions of // StatusNet + $cmd = strtolower($cmd); + if (Event::handle('StartIntepretCommand', array($cmd, $arg, $user, &$result))) { - switch(strtolower($cmd)) { + switch($cmd) { case 'help': if ($arg) { $result = null;