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_commonchans.cpp | |
| parent | Const correct numerichelper. (diff) | |
Use auto when extracting the internal type of a message target.
Diffstat (limited to 'src/modules/m_commonchans.cpp')
| -rw-r--r-- | src/modules/m_commonchans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_commonchans.cpp b/src/modules/m_commonchans.cpp index 33ed4bd99..2e4b53cdf 100644 --- a/src/modules/m_commonchans.cpp +++ b/src/modules/m_commonchans.cpp @@ -53,7 +53,7 @@ private: if (target.type != MessageTarget::TYPE_USER) return MOD_RES_PASSTHRU; - User* targetuser = target.Get<User>(); + auto* targetuser = target.Get<User>(); if (IsExempt(user, targetuser)) return MOD_RES_PASSTHRU; |
