aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_delayjoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_delayjoin.cpp')
-rw-r--r--src/modules/m_delayjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp
index 738ae17aa..160b276b2 100644
--- a/src/modules/m_delayjoin.cpp
+++ b/src/modules/m_delayjoin.cpp
@@ -222,7 +222,7 @@ void ModuleDelayJoin::OnUserTagMessage(User* user, const MessageTarget& target,
if (target.type != MessageTarget::TYPE_CHANNEL)
return;
- Channel* channel = target.Get<Channel>();
+ auto* channel = target.Get<Channel>();
djm.RevealUser(user, channel);
}
@@ -231,7 +231,7 @@ void ModuleDelayJoin::OnUserMessage(User* user, const MessageTarget& target, con
if (target.type != MessageTarget::TYPE_CHANNEL)
return;
- Channel* channel = target.Get<Channel>();
+ auto* channel = target.Get<Channel>();
djm.RevealUser(user, channel);
}