diff options
Diffstat (limited to 'src/modules/m_restrictmsg.cpp')
| -rw-r--r-- | src/modules/m_restrictmsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_restrictmsg.cpp b/src/modules/m_restrictmsg.cpp index 1ad71341b..42a17155c 100644 --- a/src/modules/m_restrictmsg.cpp +++ b/src/modules/m_restrictmsg.cpp @@ -35,7 +35,7 @@ private: { if ((target.type == MessageTarget::TYPE_USER) && (IS_LOCAL(user))) { - User* u = target.Get<User>(); + const auto* u = target.Get<User>(); // message allowed if: // (1) the sender is opered |
