mirror of
https://github.com/znc/znc.git
synced 2026-06-28 22:11:14 +02:00
Add methods to CModule to get the web path
Add these values to the template and use them when linking to any module
This commit is contained in:
+1
-1
@@ -136,7 +136,7 @@ public:
|
||||
|
||||
virtual bool OnWebRequest(CWebSock& WebSock, const CString& sPageName, CTemplate& Tmpl) {
|
||||
if (sPageName != "index") {
|
||||
// only accept requests to /mods/perform/
|
||||
// only accept requests to index
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user