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
@@ -187,4 +187,10 @@ private:
unsigned int m_iThresholdMsgs;
};
template<> void TModInfo<CFloodDetachMod>(CModInfo& Info) {
Info.SetWikiPage("flooddetach");
Info.SetHasArgs(true);
Info.SetArgsHelpText("This user module takes up to two arguments. Arguments are msgs and secs numbers.");
}
USERMODULEDEFS(CFloodDetachMod, "Detach channels when flooded")