From 35b5525cc144fc7eda9870bbefef86d7bd6926f2 Mon Sep 17 00:00:00 2001 From: Jos Date: Sat, 24 Jan 2015 11:40:51 +0100 Subject: [PATCH 1/2] Tell user to use PASS / instead of just the username. In versions prior to 1.0, ZNC did not allow multiple networks per user. The string telling users to connect has never been changed after ZNC 1.0, and this fixes just that. --- src/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client.cpp b/src/Client.cpp index 5c68d7d9..15c9a3b7 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -82,7 +82,7 @@ void CClient::SendRequiredPasswordNotice() { PutClient(":irc.znc.in 464 " + GetNick() + " :Password required"); PutClient(":irc.znc.in NOTICE AUTH :*** " "You need to send your password. " - "Try /quote PASS :"); + "Try /quote PASS /:"); } void CClient::ReadLine(const CString& sData) { From 26e466c677953313dce3ca98362025f9fa0b4cd2 Mon Sep 17 00:00:00 2001 From: Jos Date: Sun, 25 Jan 2015 10:25:13 +0100 Subject: [PATCH 2/2] More detailed instructions on how to connect to ZNC when not yet logged in. The message now mentions you should configure your client to automatically log you in, and also lets you know how to connect to a specific network. --- src/Client.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Client.cpp b/src/Client.cpp index 15c9a3b7..463559f0 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -82,7 +82,10 @@ void CClient::SendRequiredPasswordNotice() { PutClient(":irc.znc.in 464 " + GetNick() + " :Password required"); PutClient(":irc.znc.in NOTICE AUTH :*** " "You need to send your password. " - "Try /quote PASS /:"); + "Configure your client to send a server password."); + PutClient(":irc.znc.in NOTICE AUTH :*** " + "To connect now, you can use /quote PASS :, " + "or /quote PASS /: to connect to a specific network."); } void CClient::ReadLine(const CString& sData) {