From 3b9e22381bac094b20daa2715fefa90978f2d465 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 13 Jul 2024 15:29:29 +0100 Subject: Use auto when extracting the internal type of a message target. --- src/modules/m_anticaps.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_anticaps.cpp') diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp index 960ddab44..4514406d2 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(); + auto* channel = target.Get(); if (!channel->IsModeSet(&mode)) return MOD_RES_PASSTHRU; -- cgit v1.3.1-10-gc9f91