aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index 4895531d5..594bcfe5b 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -425,7 +425,7 @@ public:
if (target.type == MessageTarget::TYPE_USER)
{
- User* u = target.Get<User>();
+ auto* u = target.Get<User>();
/* Always allow a user to dcc themselves (although... why?) */
if (user == u)