summaryrefslogtreecommitdiff
path: root/src/modules/m_autoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_autoop.cpp')
-rw-r--r--src/modules/m_autoop.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/modules/m_autoop.cpp b/src/modules/m_autoop.cpp
index 152e9d679..e1042c22b 100644
--- a/src/modules/m_autoop.cpp
+++ b/src/modules/m_autoop.cpp
@@ -24,13 +24,18 @@
#include "inspircd.h"
#include "listmode.h"
-/** Handles +w channel mode
- */
+enum
+{
+ // InspIRCd-specific.
+ RPL_ACCESSLIST = 910,
+ RPL_ENDOFACCESSLIST = 911
+};
+
class AutoOpList : public ListModeBase
{
public:
AutoOpList(Module* Creator)
- : ListModeBase(Creator, "autoop", 'w', "End of Channel Access List", 910, 911, true)
+ : ListModeBase(Creator, "autoop", 'w', "End of Channel Access List", RPL_ACCESSLIST, RPL_ENDOFACCESSLIST, true)
{
ranktoset = ranktounset = OP_VALUE;
syntax = "<prefix>:<mask>";