summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-23 20:29:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-23 20:29:09 +0000
commitb83765d756c2568d15b87654963b5237d0482367 (patch)
treee005a9ef1ee8f87d7903aa19bb6012e5b082c2e1 /include
parent8b864c8a828d6ca97b5ec15fa7bf8fcc35027294 (diff)
Spotted problem: must clear out all prefixes attached to a user when they quit or leave a channel
Next thing to do, consider removing of opped_userlist, halfopped_userlist and voiced_userlist as this data is now in the prefixlist git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4998 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 5186822e1..489c8b0e8 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -473,6 +473,8 @@ class chanrec : public Extensible
*/
const char* GetStatusChar(userrec *user);
+ void RemoveAllPrefixes(userrec* user);
+
void SetPrefix(userrec* user, char prefix, unsigned int prefix_rank, bool adding);
/** Destructor for chanrec