diff options
| author | 2018-04-22 13:31:00 +0100 | |
|---|---|---|
| committer | 2018-04-22 13:31:00 +0100 | |
| commit | ba31d8080f75a0147d0b380f2c51251e024f0deb (patch) | |
| tree | bbe926ced0451e1a75ca62e3854543c2e05f73c3 /src/modules/m_noctcp.cpp | |
| parent | Merge tag 'v2.0.26' into master. (diff) | |
Replace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN.
There is no reason for these responses to have their own numerics
when other modules do not. The only thing this does is make life
harder for client developers.
Diffstat (limited to 'src/modules/m_noctcp.cpp')
| -rw-r--r-- | src/modules/m_noctcp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 26077759a..dbfe55eac 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -53,7 +53,7 @@ class ModuleNoCTCP : public Module if (!c->GetExtBanStatus(user, 'C').check(!c->IsModeSet(nc))) { - user->WriteNumeric(ERR_NOCTCPALLOWED, c->name, "Can't send CTCP to channel (+C set)"); + user->WriteNumeric(ERR_CANNOTSENDTOCHAN, c->name, "Can't send CTCP to channel (+C set)"); return MOD_RES_DENY; } } |
