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_shun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_shun.cpp') diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index 6f66a6ac6..339345e5d 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -74,7 +74,7 @@ public: std::string target = parameters[0]; - auto find = ServerInstance->Users.Find(target, true); + auto* find = ServerInstance->Users.Find(target, true); if (find) target = "*!" + find->GetBanIdent() + "@" + find->GetIPString(); @@ -116,7 +116,7 @@ public: expr = parameters[1]; } - auto r = new Shun(ServerInstance->Time(), duration, user->nick, expr, target); + auto* r = new Shun(ServerInstance->Time(), duration, user->nick, expr, target); if (ServerInstance->XLines->AddLine(r, user)) { if (!duration) -- cgit v1.3.1-10-gc9f91