Permalink
Browse files

Added SSL (+) and port in networks list for connected servers.

(cherry picked from commit 054e873)
  • Loading branch information...
1 parent 0d2622e commit 2d2e1237772384f0cef63dbfc896d8b324038989 @Dessimat0r Dessimat0r committed with DarthGandalf Nov 17, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/webadmin.cpp
@@ -1099,7 +1099,7 @@ class CWebAdminMod : public CModule {
l["IRCNick"] = vNetworks[a]->GetIRCNick().GetNick();
CServer* pServer = vNetworks[a]->GetCurrentServer();
if (pServer) {
- l["Server"] = pServer->GetName();
+ l["Server"] = pServer->GetName() + ":" + (pServer->IsSSL() ? "+" : "") + CString(pServer->GetPort());
}
}

0 comments on commit 2d2e123

Please sign in to comment.