aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_anticaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_anticaps.cpp')
-rw-r--r--src/modules/m_anticaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp
index 88fd92763..5cd78030e 100644
--- a/src/modules/m_anticaps.cpp
+++ b/src/modules/m_anticaps.cpp
@@ -209,7 +209,7 @@ public:
return MOD_RES_PASSTHRU;
// We only act if the channel has the mode set.
- Channel* channel = target.Get<Channel>();
+ auto* channel = target.Get<Channel>();
if (!channel->IsModeSet(&mode))
return MOD_RES_PASSTHRU;