initialize command interpretation result to false

This commit is contained in:
Mikael Nordfeldth 2015-06-02 14:17:59 +02:00
parent 7e388e697d
commit 2bf0ec719d

View File

@ -36,6 +36,7 @@ class CommandInterpreter
// StatusNet // StatusNet
$cmd = strtolower($cmd); $cmd = strtolower($cmd);
$result = false;
if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) { if (Event::handle('StartInterpretCommand', array($cmd, $arg, $user, &$result))) {
switch($cmd) { switch($cmd) {