From 42105f07dd1ac0e04e28077754b6245a80d55597 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 Jul 2007 13:18:28 +0000 Subject: 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 --- include/users.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3