From 1e64901f0e7df9975c34d957890eed0e4ccfa834 Mon Sep 17 00:00:00 2001 From: psychon Date: Sat, 24 May 2008 17:08:23 +0000 Subject: [PATCH] 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 --- Client.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Client.cpp b/Client.cpp index d7ceb101..ace69430 100644 --- a/Client.cpp +++ b/Client.cpp @@ -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; }