Permalink
Browse files

Merge pull request #345 from protomouse/add-missing-tmodinfo

Add TModInfo for charset and missingmotd modules
  • Loading branch information...
2 parents c28207d + 6fee11f commit a3c0b74ffc863c9d2c7fca4e04987b9a1d6dd000 @DarthGandalf DarthGandalf committed May 10, 2013
Showing with 15 additions and 0 deletions.
  1. +9 −0 modules/charset.cpp
  2. +6 −0 modules/missingmotd.cpp
View
@@ -244,4 +244,13 @@ class CCharsetMod : public CModule
}
};
+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.")
View
@@ -17,5 +17,11 @@ class CMissingMotd : public CModule {
}
};
+template<> void TModInfo<CMissingMotd>(CModInfo& Info)
+{
+ Info.SetWikiPage("missingmotd");
+ Info.SetHasArgs(false);
+}
+
USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")

0 comments on commit a3c0b74

Please sign in to comment.