diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-18 23:39:22 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2010-03-18 23:39:22 +0000 |
commit | f6c55f56f71442f36dceba20160ac6255c7d91a2 (patch) | |
tree | ca6595e4a6b92c3ca4a752276d275ad59029aa5d /src | |
parent | 8590dfa3a02a67a4eb64cbf2febfef270730a816 (diff) |
Only check password during second connect block check; add registered="yes" to get the previous behavior
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12644 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 8aeb4a1f6..3f19aa86c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1622,7 +1622,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"))) { |