mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01: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:
@@ -481,7 +481,7 @@ public:
|
||||
return ListUsersPage(WebSock, Tmpl);
|
||||
} else if (sPageName == "traffic" && spSession->IsAdmin()) {
|
||||
return TrafficPage(WebSock, Tmpl);
|
||||
} else if (sPageName.empty() || sPageName == "index") {
|
||||
} else if (sPageName == "index") {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user