Clarify the meaning of returning false from OnWebRequest.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1886 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
cflakes
2010-04-05 15:17:23 +00:00
parent 9735d5dcaa
commit 49df8dc27d
2 changed files with 10 additions and 2 deletions
+1
View File
@@ -299,6 +299,7 @@ public:
* @param sPageName The name of the page that has been requested.
* @param Tmpl The active template. You can add variables, loops and stuff to it.
* @return You MUST return true if you want the template to be evaluated and sent to the browser.
* Return false if you called Redirect() or PrintErrorPage(). If you didn't, a 404 page will be sent.
*/
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl);
/** Registers a sub page for the sidebar.