mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Added Webskin "znc-ation"
This commit is contained in:
@@ -654,6 +654,17 @@ public:
|
||||
l["Description"] = Info.GetDescription();
|
||||
l["Wiki"] = Info.GetWikiPage();
|
||||
|
||||
if(Info.GetHasArgs())
|
||||
{
|
||||
l["HasArgs"] = "true";
|
||||
}
|
||||
else
|
||||
{
|
||||
l["HasArgs"] = "false";
|
||||
}
|
||||
|
||||
l["ArgsHelpText"] = Info.GetArgsHelpText();
|
||||
|
||||
if (pNetwork) {
|
||||
CModule *pModule = pNetwork->GetModules().FindModule(Info.GetName());
|
||||
if (pModule) {
|
||||
@@ -1014,6 +1025,17 @@ public:
|
||||
l["Description"] = Info.GetDescription();
|
||||
l["Wiki"] = Info.GetWikiPage();
|
||||
|
||||
if(Info.GetHasArgs())
|
||||
{
|
||||
l["HasArgs"] = "true";
|
||||
}
|
||||
else
|
||||
{
|
||||
l["HasArgs"] = "false";
|
||||
}
|
||||
|
||||
l["ArgsHelpText"] = Info.GetArgsHelpText();
|
||||
|
||||
CModule *pModule = NULL;
|
||||
if (pUser)
|
||||
pModule = pUser->GetModules().FindModule(Info.GetName());
|
||||
@@ -1325,6 +1347,17 @@ public:
|
||||
l["Name"] = Info.GetName();
|
||||
l["Description"] = Info.GetDescription();
|
||||
l["Wiki"] = Info.GetWikiPage();
|
||||
|
||||
if(Info.GetHasArgs())
|
||||
{
|
||||
l["HasArgs"] = "true";
|
||||
}
|
||||
else
|
||||
{
|
||||
l["HasArgs"] = "false";
|
||||
}
|
||||
|
||||
l["ArgsHelpText"] = Info.GetArgsHelpText();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user