summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-03-19 18:06:22 +0100
committerattilamolnar <attilamolnar@hush.com>2013-03-19 18:06:22 +0100
commite5aaeec62619dfe114010502416af37dc38f5ba1 (patch)
treec4a9359f832c99fd58d9e4ba56f27c56ad40893b /src/modules/m_connflood.cpp
parentf5377329efe802f090525560e0d14a1d32443da7 (diff)
m_connflood Ignore e-lined users
Diffstat (limited to 'src/modules/m_connflood.cpp')
-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)