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
@@ -151,4 +151,10 @@ void CIMAPSock::ReadLine(const CString& sLine) {
}
}
template<> void TModInfo<CIMAPAuthMod>(CModInfo& Info) {
Info.SetWikiPage("imapauth");
Info.SetHasArgs(true);
Info.SetArgsHelpText("[ server [+]port [ UserFormatString ] ]");
}
GLOBALMODULEDEFS(CIMAPAuthMod, "Allow users to authenticate via imap")