diff options
| author | 2005-12-04 17:46:37 +0000 | |
|---|---|---|
| committer | 2005-12-04 17:46:37 +0000 | |
| commit | 7da84f2e706347b71e8d8056b2780cb8b47bfc03 (patch) | |
| tree | 8a96b467622d941263f9b9c17017a2f00bd2c7c9 /include | |
| parent | Missing ; (diff) | |
Added OnWallops
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2155 e03df62e-2008-0410-955e-edbf42e46eb7
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 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 |
