mirror of
https://github.com/znc/znc.git
synced 2026-07-06 01:41:12 +02:00
Remove some more pointless checks for sPageName.empty()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2241 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -94,7 +94,7 @@ public:
|
||||
virtual CString GetWebMenuTitle() { return "Last Seen"; }
|
||||
|
||||
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) {
|
||||
if (sPageName.empty() || sPageName == "index") {
|
||||
if (sPageName == "index") {
|
||||
CModules& GModules = CZNC::Get().GetModules();
|
||||
Tmpl["WebAdminLoaded"] = CString(GModules.FindModule("webadmin") != NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user