mirror of
https://github.com/znc/znc.git
synced 2026-06-26 13:01:44 +02:00
Modules can now provide its wiki page name.
It's shown on webadmin as a link.
This commit is contained in:
@@ -745,6 +745,7 @@ public:
|
||||
l["Name"] = Info.GetName();
|
||||
l["Description"] = Info.GetDescription();
|
||||
l["Args"] = GetModArgs(pUser, Info.GetName());
|
||||
l["Wiki"] = Info.GetWikiPage();
|
||||
|
||||
if (pUser && pUser->GetModules().FindModule(Info.GetName())) {
|
||||
l["Checked"] = "true";
|
||||
@@ -1039,6 +1040,7 @@ public:
|
||||
l["Name"] = Info.GetName();
|
||||
l["Description"] = Info.GetDescription();
|
||||
l["Args"] = GetModArgs(NULL, Info.GetName(), true);
|
||||
l["Wiki"] = Info.GetWikiPage();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user