diff options
author | Adam <Adam@anope.org> | 2013-04-04 15:12:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-04-04 15:14:17 -0500 |
commit | 66376335ab64719d01ded1250d48c787f8bc88ec (patch) | |
tree | f31e72a53d086d7837fe03574cbc6d1cdd1f6820 /modules/commands/os_defcon.cpp | |
parent | 823bc01f66a983e6d564a33094f689f1f627e07b (diff) |
Fix defcon taking action on new clients
Diffstat (limited to 'modules/commands/os_defcon.cpp')
-rw-r--r-- | modules/commands/os_defcon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_defcon.cpp b/modules/commands/os_defcon.cpp index 214c14f2a..5d85c2e70 100644 --- a/modules/commands/os_defcon.cpp +++ b/modules/commands/os_defcon.cpp @@ -485,7 +485,7 @@ class OSDefcon : public Module void OnUserConnect(User *u, bool &exempt) anope_override { - if (exempt || !u->Quitting() || !u->server->IsSynced() || u->server->IsULined()) + if (exempt || u->Quitting() || !u->server->IsSynced() || u->server->IsULined()) return; if (DConfig.Check(DEFCON_AKILL_NEW_CLIENTS) && akills) |