1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 09:43:13 +02:00

Allow OnPreHelp to stop processing

This commit is contained in:
Adam
2011-09-19 13:12:52 -04:00
parent 4c2a4929ea
commit 1184eb59c5
10 changed files with 28 additions and 17 deletions
+2 -1
View File
@@ -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> &params) { }
virtual EventReturn OnPreHelp(CommandSource &source, const std::vector<Anope::string> &params) { return EVENT_CONTINUE; }
/** Called when someone uses the generic/help command
* @param source Command source