mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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."
This commit is contained in:
@@ -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 <username>:<password>");
|
||||
|
||||
Reference in New Issue
Block a user