summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-04 17:31:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-04 17:31:31 +0000
commit75f82deb8706d6fb23f19e2af8301bfe7c9b7693 (patch)
tree2397dd2651132c72c1ca861a724d2833099c3e53 /include/inspircd.h
parent01a726e7a311cb45b18dcdc42875166e9e52ca21 (diff)
Excess flood tidyups
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7230 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 98b8e0c1d..505fa1034 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -1199,6 +1199,12 @@ class CoreExport InspIRCd : public classbase
void SendWhoisLine(userrec* user, userrec* dest, int numeric, const char* format, ...);
+ /** Quit a user for excess flood, and if they are not
+ * fully registered yet, temporarily zline their IP.
+ * @param current user to quit
+ */
+ void FloodQuitUser(userrec* current);
+
/** Restart the server.
* This function will not return. If an error occurs,
* it will throw an instance of CoreException.