From 283fe7a72b6d6f081063fcfe5d4c597729ecaa35 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Sat, 2 Jun 2012 13:31:49 +0100 Subject: [PATCH] Send a 464 ERR_PASSWDMISMATCH to clients which do not supply a password "Returned to indicate a failed attempt at registering a connection for which a password was required and was either not given or incorrect." --- src/Client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Client.cpp b/src/Client.cpp index 69730da8..3c778731 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -133,6 +133,7 @@ void CClient::ReadLine(const CString& sData) { if (m_bGotPass) { AuthUser(); } else { + PutClient(":irc.znc.in 464 " + GetNick() + " :Password required"); PutClient(":irc.znc.in NOTICE AUTH :*** " "You need to send your password. " "Try /quote PASS :");