mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make webadmin show whether a Listener/port accepts IRC and/or HTTP connections.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1974 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -827,6 +827,9 @@ public:
|
||||
l["Port"] = CString(pListener->GetPort());
|
||||
l["BindHost"] = pListener->GetBindHost();
|
||||
|
||||
l["IsWeb"] = CString(pListener->GetAcceptType() != CListener::ACCEPT_IRC);
|
||||
l["IsIRC"] = CString(pListener->GetAcceptType() != CListener::ACCEPT_HTTP);
|
||||
|
||||
#ifdef HAVE_LIBSSL
|
||||
if (pListener->IsSSL()) {
|
||||
l["IsSSL"] = "true";
|
||||
|
||||
Reference in New Issue
Block a user