diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 5d2e7247f..d35c1f2ba 100644 --- a/include/modules.h +++ b/include/modules.h @@ -317,8 +317,9 @@ class CoreExport Module : public Extensible /** Called when someone uses the generic/help command * @param source Command source * @param params Params + * @return EVENT_STOP to stop processing */ - virtual void OnPreHelp(CommandSource &source, const std::vector<Anope::string> ¶ms) { } + virtual EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> ¶ms) { return EVENT_CONTINUE; } /** Called when someone uses the generic/help command * @param source Command source |
