diff options
Diffstat (limited to 'modules/commands/help.cpp')
-rw-r--r-- | modules/commands/help.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/commands/help.cpp b/modules/commands/help.cpp index bde3b5762..f09764fa1 100644 --- a/modules/commands/help.cpp +++ b/modules/commands/help.cpp @@ -25,7 +25,10 @@ class CommandHelp : public Command void Execute(CommandSource &source, const std::vector<Anope::string> ¶ms) { - FOREACH_MOD(I_OnPreHelp, OnPreHelp(source, params)); + EventReturn MOD_RESULT; + FOREACH_RESULT(I_OnPreHelp, OnPreHelp(source, params)); + if (MOD_RESULT == EVENT_STOP) + return; User *u = source.u; BotInfo *bi = source.owner; |