From 66376335ab64719d01ded1250d48c787f8bc88ec Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 4 Apr 2013 15:12:22 -0500 Subject: Fix defcon taking action on new clients --- modules/commands/os_defcon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit