mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
Merge pull request #345 from protomouse/add-missing-tmodinfo
Add TModInfo for charset and missingmotd modules
This commit is contained in:
@@ -244,4 +244,13 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<> void TModInfo<CCharsetMod>(CModInfo& Info)
|
||||
{
|
||||
Info.SetWikiPage("charset");
|
||||
Info.SetHasArgs(true);
|
||||
Info.SetArgsHelpText("Two charset lists: [-force] "
|
||||
"<client_charset1[,client_charset2[,...]]> "
|
||||
"<server_charset1[,server_charset2[,...]]>");
|
||||
}
|
||||
|
||||
USERMODULEDEFS(CCharsetMod, "Normalizes character encodings.")
|
||||
|
||||
@@ -17,5 +17,11 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
template<> void TModInfo<CMissingMotd>(CModInfo& Info)
|
||||
{
|
||||
Info.SetWikiPage("missingmotd");
|
||||
Info.SetHasArgs(false);
|
||||
}
|
||||
|
||||
USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user