Make simple_away and keepnick also support user modules

Fix #318
This commit is contained in:
Alexey Sokolov
2013-05-19 14:45:12 +04:00
parent 2b0469769f
commit fb62b5e7a6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -195,6 +195,7 @@ void CKeepNickTimer::RunJob() {
template<> void TModInfo<CKeepNickMod>(CModInfo& Info) {
Info.SetWikiPage("keepnick");
Info.AddType(CModInfo::UserModule);
}
NETWORKMODULEDEFS(CKeepNickMod, "Keep trying for your primary nick")
+1
View File
@@ -219,6 +219,7 @@ template<> void TModInfo<CSimpleAway>(CModInfo& Info) {
Info.SetWikiPage("simple_away");
Info.SetHasArgs(true);
Info.SetArgsHelpText("You might enter up to 3 arguments, like -notimer awaymessage or -timer 5 awaymessage.");
Info.AddType(CModInfo::UserModule);
}
NETWORKMODULEDEFS(CSimpleAway, "This module will automatically set you away on IRC while you are disconnected from the bouncer.")