diff options
| author | 2023-01-16 04:12:50 +0000 | |
|---|---|---|
| committer | 2023-01-16 04:12:50 +0000 | |
| commit | 3061793a748f8df3a2b78462ac6ae62962bb2b64 (patch) | |
| tree | c696ef3bbceb16f8bc04a57e635420be02c728ce /src/modules/m_cycle.cpp | |
| parent | Convert the setidle module to use standard replies. (diff) | |
| parent | Fix the cycle module sending a notice instead of ERR_BANNEDFROMCHAN. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_cycle.cpp')
| -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 57fc5e141..4941ffc70 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -62,7 +62,7 @@ public: 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 CmdResult::FAILURE; } |
