summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 9e3206736..35a4caf52 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -419,6 +419,7 @@ class Module : public classbase
* If your method returns nonzero, the nickchange is silently forbidden, and it is down to your
* module to generate some meaninful output.
*/
+ virtual int OnUserPreNick(userrec* user, std::string newnick);
virtual void OnUserMessage(userrec* user, void* dest, int target_type, std::string text);
@@ -434,7 +435,7 @@ class Module : public classbase
virtual void ProtoSendMode(void* opaque, int target_type, void* target, std::string modeline);
- virtual int OnUserPreNick(userrec* user, std::string newnick);
+ virtual void OnWallops(userrec* user, std::string text);
/** Called after any nickchange, local or remote. This can be used to track users after nickchanges
* have been applied. Please note that although you can see remote nickchanges through this function, you should