diff options
| author | 2024-07-13 15:29:29 +0100 | |
|---|---|---|
| committer | 2024-07-13 15:29:29 +0100 | |
| commit | 3b9e22381bac094b20daa2715fefa90978f2d465 (patch) | |
| tree | 79e354813920fa2a563d5062d6a407ed1c85f9c4 /src/modules/m_anticaps.cpp | |
| parent | Const correct numerichelper. (diff) | |
Use auto when extracting the internal type of a message target.
Diffstat (limited to 'src/modules/m_anticaps.cpp')
| -rw-r--r-- | src/modules/m_anticaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Channel>(); + auto* channel = target.Get<Channel>(); if (!channel->IsModeSet(&mode)) return MOD_RES_PASSTHRU; |
