summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-08 16:54:16 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-08 16:54:16 +0000
commitc3e52465901f11226616a2a93393c3d07295b45d (patch)
treee8939bbbaaae24d1b8c3dda0567130eac120ab22
parent80a4db3cb0c7085f451433cf38506db2eb68a1a9 (diff)
Rename to m_connectban
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9664 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--docs/inspircd.conf.example26
-rw-r--r--src/modules/m_connectban.cpp (renamed from src/modules/m_quitban.cpp)0
2 files changed, 13 insertions, 13 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index f7898c7ec..66abfb955 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -1550,6 +1550,19 @@
#<module name="m_cycle.so">
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Connectban: Provides per-IP connection throttling. Any IP that disconnects
+# too many times (configurable) in an hour is zlined for a (configurable)
+# duration, and their count resets to 0.
+#
+# NOTE: This module may change name/behaviour later in 1.2. Please make sure
+# you read release announcements!
+#
+#<connectban threshold="10" duration="10m">
+# This allows for 10 quits in an hour with a 10 minute ban if that is exceeded.
+#
+#<module name="m_connectbanban.so">
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Connection throttle module. Configuration:
#<module name="m_connflood.so">
#
@@ -2045,19 +2058,6 @@
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-# Quitban: Provides per-IP connection throttling. Any IP that disconnects
-# too many times (configurable) in an hour is zlined for a (configurable)
-# duration, and their count resets to 0.
-#
-# NOTE: This module may change name/behaviour later in 1.2. Please make sure
-# you read release announcements!
-#
-#<quitban threshold="10" duration="10m">
-# This allows for 10 quits in an hour with a 10 minute ban if that is exceeded.
-#
-#<module name="m_quitban.so">
-
-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Random Quote module: provides a random quote on connect.
# NOTE: Some of these may mimic fatal errors and confuse users and
# opers alike! - BEWARE!
diff --git a/src/modules/m_quitban.cpp b/src/modules/m_connectban.cpp
index a1ff0816c..a1ff0816c 100644
--- a/src/modules/m_quitban.cpp
+++ b/src/modules/m_connectban.cpp