From 501a9f21c428dbfe023643725af7e6fada2e66e3 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 19 May 2013 20:39:55 +0400 Subject: [PATCH] Revert "Make simple_away and keepnick also support user modules" This reverts commit fb62b5e7a6590461d5287f466198942e34c95ef9. I need to test changes better... To be proper user modules they need to store per-network state, just a flag isn't enough. --- modules/keepnick.cpp | 1 - modules/simple_away.cpp | 1 - 2 files changed, 2 deletions(-) diff --git a/modules/keepnick.cpp b/modules/keepnick.cpp index 77ada191..b20d82fb 100644 --- a/modules/keepnick.cpp +++ b/modules/keepnick.cpp @@ -195,7 +195,6 @@ void CKeepNickTimer::RunJob() { template<> void TModInfo(CModInfo& Info) { Info.SetWikiPage("keepnick"); - Info.AddType(CModInfo::UserModule); } NETWORKMODULEDEFS(CKeepNickMod, "Keep trying for your primary nick") diff --git a/modules/simple_away.cpp b/modules/simple_away.cpp index 62f9376e..d7485541 100644 --- a/modules/simple_away.cpp +++ b/modules/simple_away.cpp @@ -219,7 +219,6 @@ template<> void TModInfo(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.")