From 89537ed2ab22fcedb25e0378bd2c18e392911c0c Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Sep 2022 12:01:29 +0100 Subject: Fix various cases of the &* being next to the name instead of type. --- src/modules/m_cban.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_cban.cpp') diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 5fbf16d1f..437cef2b5 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -127,7 +127,7 @@ public: return CmdResult::FAILURE; } - const char *reason = (parameters.size() > 2) ? parameters[2].c_str() : "No reason supplied"; + const char* reason = (parameters.size() > 2) ? parameters[2].c_str() : "No reason supplied"; auto r = new CBan(ServerInstance->Time(), duration, user->nick, reason, parameters[0]); if (ServerInstance->XLines->AddLine(r, user)) { @@ -193,7 +193,7 @@ public: if (override) return MOD_RES_PASSTHRU; - XLine *rl = ServerInstance->XLines->MatchesLine("CBAN", cname); + XLine* rl = ServerInstance->XLines->MatchesLine("CBAN", cname); if (rl) { // Channel is banned. -- cgit v1.3.1-10-gc9f91