From b2d86bb8a1bc965ad72d00ba5ef98d0e4bbfb155 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 10 Jan 2023 23:02:45 +0000 Subject: Qualify auto correctly in all cases. --- src/modules/m_dccallow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index a50ab5722..0b315652b 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -129,7 +129,7 @@ public: // Remove the old list and create a new one. Unset(user, false); - auto list = new dccallowlist(); + auto* list = new dccallowlist(); irc::spacesepstream ts(value); while (!ts.StreamEnd()) @@ -235,7 +235,7 @@ public: } std::string nick(parameters[0], 1); - auto target = ServerInstance->Users.FindNick(nick, true); + auto* target = ServerInstance->Users.FindNick(nick, true); if (target && !target->quitting) { if (action == '-') @@ -478,7 +478,7 @@ public: std::string filename = buf.substr(first, s); bool found = false; - for (auto& bf : bfl) + for (const auto& bf : bfl) { if (InspIRCd::Match(filename, bf.filemask, ascii_case_insensitive_map)) { -- cgit v1.3.1-10-gc9f91