aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operchans.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-04-22 14:31:28 +0100
committerGravatar Peter Powell2018-04-22 14:35:38 +0100
commit48a400f2e068527b338ceecf8ed1dde2da971ca9 (patch)
tree93375f28863762b4190a5e4cedfdfa44d6c3dab6 /src/modules/m_operchans.cpp
parentReplace ERR_{NOCTCPALLOWED,WORDFILTERED} with ERR_CANNOTSENDTOCHAN. (diff)
Move a bunch of optional module numerics to the module source file.
Diffstat (limited to 'src/modules/m_operchans.cpp')
-rw-r--r--src/modules/m_operchans.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/modules/m_operchans.cpp b/src/modules/m_operchans.cpp
index 0b074ebab..f0812ce27 100644
--- a/src/modules/m_operchans.cpp
+++ b/src/modules/m_operchans.cpp
@@ -22,6 +22,12 @@
#include "inspircd.h"
+enum
+{
+ // From UnrealIRCd.
+ ERR_CANTJOINOPERSONLY = 520
+};
+
class OperChans : public SimpleChannelModeHandler
{
public: