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
+1 -1
View File
@@ -104,7 +104,7 @@ public:
virtual CString GetWebMenuTitle() { return "Sticky Chans"; }
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) {
if (sPageName.empty() || sPageName == "index") {
if (sPageName == "index") {
bool bSubmitted = (WebSock.GetParam("submitted").ToInt() != 0);
const vector<CChan*>& Channels = m_pUser->GetChans();