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:
psychon
2011-01-02 16:33:42 +00:00
parent eb730d72d7
commit 44d2816379
4 changed files with 4 additions and 4 deletions

View File

@@ -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;
}