mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Merge branch 'modinfo'
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;
|
||||
@@ -1124,4 +1126,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<> void TModInfo<CWebAdminMod>(CModInfo& Info) {
|
||||
Info.SetWikiPage("webadmin");
|
||||
}
|
||||
|
||||
GLOBALMODULEDEFS(CWebAdminMod, "Web based administration module")
|
||||
|
||||
Reference in New Issue
Block a user