mirror of
https://github.com/znc/znc.git
synced 2026-06-27 13:31:32 +02:00
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:
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user