summaryrefslogtreecommitdiff
path: root/src/modules/m_cap.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-04-22 21:58:15 +0100
committerPeter Powell <petpow@saberuk.com>2018-04-22 22:38:49 +0100
commit35c8cde85996e9fe89920acb92a84c5d9bd6aeaf (patch)
treeabd9b0c8a0c2cf7b701cabf9513a815f7465813d /src/modules/m_cap.cpp
parent9ef3725b682ba6a82f07fc09b243d0f94f6513ab (diff)
Fix some oversights relating to numerics.
- ERR_CANNOTSENDTOCHAN only takes the channel name and a message. - ERR_INVALIDCAPCMD is 410 not 232.
Diffstat (limited to 'src/modules/m_cap.cpp')
-rw-r--r--src/modules/m_cap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp
index 603c7e235..1465f8a38 100644
--- a/src/modules/m_cap.cpp
+++ b/src/modules/m_cap.cpp
@@ -24,7 +24,7 @@
enum
{
// From IRCv3 capability-negotiation-3.1.
- ERR_INVALIDCAPCMD = 232
+ ERR_INVALIDCAPCMD = 410
};
namespace Cap