Permalink
Browse files

Make simple_away and keepnick also support user modules

Fix #318
  • Loading branch information...
1 parent 2b04697 commit fb62b5e7a6590461d5287f466198942e34c95ef9 @DarthGandalf DarthGandalf committed May 19, 2013
Showing with 2 additions and 0 deletions.
  1. +1 −0 modules/keepnick.cpp
  2. +1 −0 modules/simple_away.cpp
View
@@ -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")
View
@@ -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.")

0 comments on commit fb62b5e

Please sign in to comment.