aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_anticaps.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-07-13 22:37:41 +0100
committerGravatar Sadie Powell2024-07-13 22:37:41 +0100
commit13cfe13d7bf665a2f9cf8d18d4d5ffa6da8f24c6 (patch)
treebd31c5e25bb9935f6411bd6dede365ece6708cdf /src/modules/m_anticaps.cpp
parentMerge branch 'insp4' into master. (diff)
parentFix the getentropy test on systems with a new libc and old kernel. (diff)
downloadinspircd++-13cfe13d7bf665a2f9cf8d18d4d5ffa6da8f24c6.tar.gz
inspircd++-13cfe13d7bf665a2f9cf8d18d4d5ffa6da8f24c6.tar.bz2
inspircd++-13cfe13d7bf665a2f9cf8d18d4d5ffa6da8f24c6.zip
Merge branch 'insp4' into master.
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;