Improve the tip at the end of --makeconf

This now also tries to mention the needed ssl flag in the irc client and the big
change is that this prints the "address" of the web interface!


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2176 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-11-07 13:42:48 +00:00
parent 5e070e7881
commit 16be1817d5
+4 -1
View File
@@ -942,13 +942,16 @@ bool CZNC::WriteNewConfig(const CString& sConfigFile) {
cout << endl << "----------------------------------------------------------------------------" << endl << endl;
}
const CString sProtocol(sSSL.empty() ? "http" : "https");
CUtils::PrintMessage("");
CUtils::PrintMessage("To connect to this znc you need to connect to it as your irc server", true);
CUtils::PrintMessage("using the port that you supplied. You have to supply your login info", true);
CUtils::PrintMessage("as the irc server password like so... user:pass.", true);
CUtils::PrintMessage("");
CUtils::PrintMessage("Try something like this in your IRC client...", true);
CUtils::PrintMessage("/server <znc_server_ip> " + CString(uListenPort) + " " + sUser + ":<pass>", true);
CUtils::PrintMessage("/server <znc_server_ip> " + sSSL + CString(uListenPort) + " " + sUser + ":<pass>", true);
CUtils::PrintMessage("And this in your browser...", true);
CUtils::PrintMessage(sProtocol + "://<znc_server_ip>:" + CString(uListenPort) + "/", true);
CUtils::PrintMessage("");
m_LockFile.UnLock();