summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:16:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-07 21:16:47 +0000
commitaea429253a21458b74d1b052e975cd1cc4c1b08a (patch)
tree6bdb512b3a108dc56033150471844250863ff61c /include
parent18f04c60d59085ad768f149c8e9e4b650b8dc717 (diff)
Added OnCleanup function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2258 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h
index 2c1cf4ff7..2745fef33 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -466,11 +466,13 @@ class Module : public classbase
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);
+ virtual void OnCleanup(int target_type, void* source);
+
/** 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.