mirror of
https://github.com/znc/znc.git
synced 2026-08-11 11:23:18 +02:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user