aboutsummaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorGravatar brain2004-04-22 19:34:06 +0000
committerGravatar brain2004-04-22 19:34:06 +0000
commit6129f2e4a0c3bd50c3f9ff62c7dfd0b27ecdcc7f (patch)
tree287bdc416487c8b226b42cc52272abaa69b297b3 /src/modules.cpp
parentFix to services sending quits with no reasons (diff)
Added more services stuff
Added support for OnUserPreNick API command (used with qlines, etc) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@696 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 59833b6bd..1c37dd0cb 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -125,6 +125,7 @@ void Module::OnInfo(userrec* user) { };
void Module::OnWhois(userrec* source, userrec* dest) { };
int Module::OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text) { return 0; };
int Module::OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text) { return 0; };
+int Module::OnUserPreNick(userrec* user, std::string newnick) { return 0; };
// server is a wrapper class that provides methods to all of the C-style
// exports in the core