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:
1 parent
6bc45bf80f
commit
08463bedac
3 files changed
+8
-1
No files matched your search
@@ -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