diff options
| author | 2023-01-16 04:04:44 +0000 | |
|---|---|---|
| committer | 2023-01-16 04:04:44 +0000 | |
| commit | 5df3368991e71a5920d882aee82715559ea7426b (patch) | |
| tree | 36e1e16e82e7d9b771730da19a7cddf2b172b6e9 /src/modules | |
| parent | Fix building the pgsql connection DSN in some rare cases. (diff) | |
Fix the cycle module sending a notice instead of ERR_BANNEDFROMCHAN.
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/m_cycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index 686f4652a..230cf8f43 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -62,7 +62,7 @@ class CommandCycle : public SplitCommand if (channel->GetPrefixValue(user) < VOICE_VALUE && channel->IsBanned(user)) { // User is banned, send an error and don't cycle them - user->WriteNotice("*** You may not cycle, as you are banned on channel " + channel->name); + user->WriteNumeric(ERR_BANNEDFROMCHAN, channel->name, "You may not cycle, as you are banned on channel " + channel->name); return CMD_FAILURE; } |
