aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-04 11:20:16 +0100
committerGravatar Sadie Powell2022-09-04 11:28:10 +0100
commit7076a766db6759ac698fea880616ede9545207cc (patch)
tree24b03370daca1f5ff92a728d9e6abe135a3a2359 /src/modules/m_dccallow.cpp
parentFix some warnings noticed by the readability-* clang-tidy checkers. (diff)
downloadinspircd++-7076a766db6759ac698fea880616ede9545207cc.tar.gz
inspircd++-7076a766db6759ac698fea880616ede9545207cc.tar.bz2
inspircd++-7076a766db6759ac698fea880616ede9545207cc.zip
Use auto in places where it is really obvious what the type is.
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 3384741f3..059c28761 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -128,7 +128,7 @@ public:
// Remove the old list and create a new one.
Unset(user, false);
- dccallowlist* list = new dccallowlist();
+ auto list = new dccallowlist();
irc::spacesepstream ts(value);
while (!ts.StreamEnd())