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
@@ -480,5 +480,11 @@ void CAwayJob::RunJob()
}
}
template<> void TModInfo<CAway>(CModInfo& Info) {
Info.SetWikiPage("awaystore");
Info.SetHasArgs(true);
Info.SetArgsHelpText("[ -notimer | -timer N ] [ passw0rd ]. N is number of seconds, 600 by default.");
}
NETWORKMODULEDEFS(CAway, "Adds auto-away with logging, useful when you use ZNC from different locations");