summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_connflood.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index f86b9ce52..f77691e32 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -69,6 +69,9 @@ public:
virtual ModResult OnUserRegister(LocalUser* user)
{
+ if (user->exempt)
+ return MOD_RES_PASSTHRU;
+
time_t next = ServerInstance->Time();
if ((ServerInstance->startup_time + boot_wait) > next)