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:
+2
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user