From 5ca0e82c4d24101d66dd55e609f9780c5c51fef9 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Thu, 18 Mar 2010 18:34:50 -0500 Subject: Only check password during second connect block check; add registered="yes" to get the previous behavior --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index 4c2804db2..e877985f0 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1632,7 +1632,7 @@ void LocalUser::SetClass(const std::string &explicit_name) continue; } - if (!c->config->getString("pass").empty()) + if (regdone && !c->config->getString("pass").empty()) { if (ServerInstance->PassCompare(this, c->config->getString("pass"), password, c->config->getString("hash"))) { -- cgit v1.3.1-10-gc9f91