Allow plugins to modify or append command help text; broke the command help down into pieces which also will aid translators in future, as the entire message blob won't change every time something gets fiddled with.

This commit is contained in:
Brion Vibber
2011-03-16 16:52:37 -07:00
parent e36959d451
commit bd12546984
2 changed files with 84 additions and 41 deletions

View File

@@ -314,7 +314,7 @@ class CommandInterpreter
$result = false;
}
Event::handle('EndInterpretCommand', array($cmd, $arg, $user, $result));
Event::handle('EndInterpretCommand', array($cmd, $arg, $user, &$result));
}
return $result;