summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
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.