summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-15 13:18:28 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-07-15 13:18:28 +0000
commit42105f07dd1ac0e04e28077754b6245a80d55597 (patch)
tree49497f924d9719e61fec6ec6d5b745e406df08ff /include/users.h
parent4b5ae9645faa1d43f6c85fd68ca6ed2b3cf948a8 (diff)
Fix for bug #349: NOTE there is important caveat about this in the example config, MAKE SURE TO READ IT.
When you connect a cgi:irc client two different connect classes are checked at two different times (first the one that the website they are cgi'ing from, then later one for the user's real ip). READ THIS AND UNDERSTAND IT! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7440 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index b710c9993..0443b24d2 100644
--- a/include/users.h
+++ b/include/users.h
@@ -830,6 +830,12 @@ class CoreExport userrec : public connection
*/
unsigned long LocalCloneCount();
+ /** Remove all clone counts from the user, you should
+ * use this if you change the user's IP address in
+ * userrec::ip after they have registered.
+ */
+ void RemoveCloneCounts();
+
/** Write text to this user, appending CR/LF.
* @param text A std::string to send to the user
*/