Don't disconnect unauthed clients which use something else than PASS, USER or NICK

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1066 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2008-05-24 17:08:23 +00:00
parent daef16a3eb
commit 1e64901f0e
+1 -2
View File
@@ -116,8 +116,7 @@ void CClient::ReadLine(const CString& sData) {
}
if (!m_pUser) {
PutClient("ERROR :You need to send your password first!");
Close();
// Only NICK, USER and PASS are allowed before login
return;
}