Fix presense and help of module arguments.

See github issue #192
This commit is contained in:
Alexey Sokolov
2012-07-17 09:14:02 +07:00
parent 373490f2d1
commit fca5eebe53
21 changed files with 77 additions and 3 deletions
+6
View File
@@ -275,4 +275,10 @@ private:
map<CString, CAutoVoiceUser*> m_msUsers;
};
template<> void TModInfo<CAutoVoiceMod>(CModInfo& Info) {
Info.SetWikiPage("autovoice");
Info.SetHasArgs(true);
Info.SetArgsHelpText("Each argument is either a channel you want autovoice for (which can include wildcards) or, if it starts with !, it is an exception for autovoice.");
}
NETWORKMODULEDEFS(CAutoVoiceMod, "Auto voice the good guys")