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_delaymsg.cpp | |
| parent | Const correct numerichelper. (diff) | |
Use auto when extracting the internal type of a message target.
Diffstat (limited to 'src/modules/m_delaymsg.cpp')
| -rw-r--r-- | src/modules/m_delaymsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_delaymsg.cpp b/src/modules/m_delaymsg.cpp index 52a03cc88..603e9e407 100644 --- a/src/modules/m_delaymsg.cpp +++ b/src/modules/m_delaymsg.cpp @@ -117,7 +117,7 @@ ModResult ModuleDelayMsg::HandleMessage(User* user, const MessageTarget& target) if (!IS_LOCAL(user) || target.type != MessageTarget::TYPE_CHANNEL) return MOD_RES_PASSTHRU; - Channel* channel = target.Get<Channel>(); + auto* channel = target.Get<Channel>(); Membership* memb = channel->GetUser(user); if (!memb) |
