Fix the only warning from -Wswitch-enum we had

WebModules.cpp:511: error: enumeration value ‘PAGE_NOTFOUND’ not handled in
switch [-Wswitch-enum]


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2179 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
psychon
2010-11-07 16:57:08 +00:00
parent f15aef4807
commit 377bbf80f3

View File

@@ -520,6 +520,7 @@ void CWebSock::OnPageRequest(const CString& sURI) {
// the connection will be closed
Close(CLT_AFTERWRITE);
break;
case PAGE_NOTFOUND:
default:
PrintNotFound();
break;