diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-03-19 18:06:22 +0100 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-03-19 18:06:22 +0100 |
commit | e5aaeec62619dfe114010502416af37dc38f5ba1 (patch) | |
tree | c4a9359f832c99fd58d9e4ba56f27c56ad40893b | |
parent | f5377329efe802f090525560e0d14a1d32443da7 (diff) |
m_connflood Ignore e-lined users
-rw-r--r-- | src/modules/m_connflood.cpp | 3 |
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) |