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_cban.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_cban.cpp')
| -rw-r--r-- | src/modules/m_cban.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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. |
