summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 12:29:53 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-06 12:29:53 +0000
commit9c701f3098f6d69abf20bd2e795d2812382f1e57 (patch)
tree9a9bf102b4e1703b06e9738d8d0afc5d149cc31a /include/modules.h
parent964e46857e87fadbcde15e85b5f3698f540116fa (diff)
Added G/Z/Q/E line propogation
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2216 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 21418ba8a..2b6fec02d 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -440,7 +440,27 @@ class Module : public classbase
virtual void OnChangeHost(userrec* user, std::string newhost);
virtual void OnChangeName(userrec* user, std::string gecos);
-
+
+ virtual void OnAddGLine(long duration, userrec* source, std::string reason, std::string hostmask);
+
+ virtual void OnAddZLine(long duration, userrec* source, std::string reason, std::string ipmask);
+
+ virtual void OnAddKLine(long duration, userrec* source, std::string reason, std::string hostmask);
+
+ virtual void OnAddQLine(long duration, userrec* source, std::string reason, std::string nickmask);
+
+ virtual void OnAddELine(long duration, userrec* source, std::string reason, std::string hostmask);
+
+ virtual void OnDelGLine(userrec* source, std::string hostmask);
+
+ virtual void OnDelZLine(userrec* source, std::string ipmask);
+
+ virtual void OnDelKLine(userrec* source, std::string hostmask);
+
+ virtual void OnDelQLine(userrec* source, std::string nickmask);
+
+ virtual void OnDelELine(userrec* source, std::string hostmask);
+
/** 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
* NOT make any changes to the userrec if the user is a remote user as this may cause a desnyc.