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_rline.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/m_rline.cpp') diff --git a/src/modules/m_rline.cpp b/src/modules/m_rline.cpp index 4001150b5..7065102b3 100644 --- a/src/modules/m_rline.cpp +++ b/src/modules/m_rline.cpp @@ -157,7 +157,7 @@ public: user->WriteNotice("*** Invalid duration for R-line."); return CmdResult::FAILURE; } - XLine *r = nullptr; + XLine* r = nullptr; try { @@ -254,7 +254,7 @@ public: ModResult OnUserRegister(LocalUser* user) override { // Apply lines on user connect - XLine *rl = ServerInstance->XLines->MatchesLine("R", user); + XLine* rl = ServerInstance->XLines->MatchesLine("R", user); if (rl) { @@ -303,7 +303,7 @@ public: return MOD_RES_DENY; } - void OnUserPostNick(User *user, const std::string &oldnick) override + void OnUserPostNick(User* user, const std::string& oldnick) override { if (!IS_LOCAL(user)) return; @@ -311,7 +311,7 @@ public: if (!MatchOnNickChange) return; - XLine *rl = ServerInstance->XLines->MatchesLine("R", user); + XLine* rl = ServerInstance->XLines->MatchesLine("R", user); if (rl) { -- cgit v1.3.1-10-gc9f91