mirror of
https://github.com/znc/znc.git
synced 2026-08-09 10:23:14 +02:00
Revert "Make simple_away and keepnick also support user modules"
This reverts commit fb62b5e7a6.
I need to test changes better...
To be proper user modules they need to store per-network state, just a
flag isn't enough.
This commit is contained in:
@@ -195,7 +195,6 @@ void CKeepNickTimer::RunJob() {
|
||||
|
||||
template<> void TModInfo<CKeepNickMod>(CModInfo& Info) {
|
||||
Info.SetWikiPage("keepnick");
|
||||
Info.AddType(CModInfo::UserModule);
|
||||
}
|
||||
|
||||
NETWORKMODULEDEFS(CKeepNickMod, "Keep trying for your primary nick")
|
||||
|
||||
@@ -219,7 +219,6 @@ 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.")
|
||||
|
||||
Reference in New Issue
Block a user