diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-28 10:26:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-11-28 10:26:35 +0000 |
commit | 0e5b1c94b30ec2f3cd73e72e379398dae55fbbd2 (patch) | |
tree | 354ba59cc0c8f945bfdbdc318381bdf865ed6324 /include | |
parent | 9ade2d89bf8106925ffeb0f26742f0ffa99f028f (diff) |
Added OnUserMessage and OnUserNotice (why have these been missing so long?)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1974 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/modules.h b/include/modules.h index a4173060d..5e217d078 100644 --- a/include/modules.h +++ b/include/modules.h @@ -416,6 +416,11 @@ 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 void OnUserMessage(userrec* user, void* dest, int target_type, std::string text); + + virtual void OnUserNotice(userrec* user, void* dest, int target_type, std::string text); + virtual int OnUserPreNick(userrec* user, std::string newnick); /** Called after any nickchange, local or remote. This can be used to track users after nickchanges |