aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2021-06-01 01:48:14 +0100
committerGravatar Sadie Powell2021-06-01 02:36:13 +0100
commit10e9e9a5be47ff0000d459d9a71bc6b11292898f (patch)
treebd7df96efc2fd69880c5a5db220ae26b8f4c0324 /src/modules/m_botmode.cpp
parentMerge branch 'insp3' into master. (diff)
Rename Simple{Channel,User}ModeHandler to match other mode handlers.
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index b9362c6eb..ff4ecb6fa 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -38,11 +38,11 @@ enum
class BotTag : public ClientProtocol::MessageTagProvider
{
private:
- SimpleUserModeHandler& botmode;
+ SimpleUserMode& botmode;
CTCTags::CapReference ctctagcap;
public:
- BotTag(Module* mod, SimpleUserModeHandler& bm)
+ BotTag(Module* mod, SimpleUserMode& bm)
: ClientProtocol::MessageTagProvider(mod)
, botmode(bm)
, ctctagcap(mod)
@@ -69,7 +69,7 @@ class ModuleBotMode
, public Whois::EventListener
{
private:
- SimpleUserModeHandler bm;
+ SimpleUserMode bm;
BotTag tag;
bool forcenotice;