diff options
| author | 2022-09-29 12:01:29 +0100 | |
|---|---|---|
| committer | 2022-09-29 12:36:01 +0100 | |
| commit | 89537ed2ab22fcedb25e0378bd2c18e392911c0c (patch) | |
| tree | 4cdea30cb16c0a044d80ba4bab8ef9a645c90824 /src/modules/m_rline.cpp | |
| parent | Use NOMINMAX on Windows and undefine error in the log header. (diff) | |
Fix various cases of the &* being next to the name instead of type.
Diffstat (limited to 'src/modules/m_rline.cpp')
| -rw-r--r-- | src/modules/m_rline.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) { |
