diff options
-rw-r--r-- | docs/conf/modules.conf.example | 2 | ||||
-rw-r--r-- | src/modules/m_connflood.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/conf/modules.conf.example b/docs/conf/modules.conf.example index 9cbf116cf..639f02335 100644 --- a/docs/conf/modules.conf.example +++ b/docs/conf/modules.conf.example @@ -659,7 +659,7 @@ # the throttling when the server just booted. # #<connflood period="30" maxconns="3" timeout="30" -# quitmsg="Throttled" bootwait="10"> +# quitmsg="Throttled" bootwait="2m"> #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-# # Custom prefixes: Allows for channel prefixes to be configured. diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index 5070dd3a7..78271b5a1 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -54,7 +54,7 @@ public: quitmsg = tag->getString("quitmsg"); /* seconds to wait when the server just booted */ - boot_wait = tag->getDuration("bootwait", 10); + boot_wait = tag->getDuration("bootwait", 60*2); first = ServerInstance->Time(); } |