Permalink
Browse files

m_connflood Ignore e-lined users

  • Loading branch information...
1 parent f537732 commit e5aaeec62619dfe114010502416af37dc38f5ba1 @attilamolnar attilamolnar committed Mar 19, 2013
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/modules/m_connflood.cpp
@@ -69,6 +69,9 @@ class ModuleConnFlood : public Module
virtual ModResult OnUserRegister(LocalUser* user)
{
+ if (user->exempt)
+ return MOD_RES_PASSTHRU;
+
time_t next = ServerInstance->Time();
if ((ServerInstance->startup_time + boot_wait) > next)

0 comments on commit e5aaeec

Please sign in to comment.