mirror of
https://github.com/znc/znc.git
synced 2026-05-07 05:44:41 +02:00
Add OnWebPreRequest web module hook to allow modules to do PAGE_DEFERRED style async processing.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1841 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -388,6 +388,7 @@ void CModule::ListSockets() {
|
||||
CString CModule::GetModNick() const { return ((m_pUser) ? m_pUser->GetStatusPrefix() : "*") + m_sModName; }
|
||||
|
||||
// Webmods
|
||||
bool CModule::OnWebPreRequest(CWebSock& WebSock, const CString& sPageName) { return false; }
|
||||
bool CModule::OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) { return false; }
|
||||
// !Webmods
|
||||
|
||||
|
||||
Reference in New Issue
Block a user