summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-22 14:24:29 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-22 14:24:29 +0000
commit085f7e07d460a2fef17a507f0cc0f9ccd4561724 (patch)
tree50d1b92cc3e96370d80681a6e0167a07de024f3a /src/modules.cpp
parent740b09e2aee345c6fde199986d8eab6e0db224e3 (diff)
Added OnUserPreInvite method for use with +V etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@817 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 d4f98cc86..a2f8a4413 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -310,6 +310,7 @@ Version Module::GetVersion() { return Version(1,0,0,0); }
void Module::OnOper(userrec* user) { };
void Module::OnInfo(userrec* user) { };
void Module::OnWhois(userrec* source, userrec* dest) { };
+int Module::OnUserPreInvite(userrec* source,userrec* dest,chanrec* channel) { return 0 };
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; };