aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_exemptchanops.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-02-19 01:29:45 +0000
committerGravatar Sadie Powell2020-02-19 01:29:45 +0000
commit7bdd72f634f994dcbd9bfbc865d0087143fb748d (patch)
tree11784350f097d56704426e604fdc0009ec35afb2 /src/modules/m_exemptchanops.cpp
parentMove FindNickOnly to UserManager. (diff)
parentBump the module ABI version. (diff)
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_exemptchanops.cpp')
-rw-r--r--src/modules/m_exemptchanops.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/modules/m_exemptchanops.cpp b/src/modules/m_exemptchanops.cpp
index f5539c10c..46204761f 100644
--- a/src/modules/m_exemptchanops.cpp
+++ b/src/modules/m_exemptchanops.cpp
@@ -25,13 +25,17 @@
#include "listmode.h"
#include "modules/exemption.h"
-/** Handles channel mode +X
- */
+enum
+{
+ RPL_ENDOFEXEMPTIONLIST = 953,
+ RPL_EXEMPTIONLIST = 954
+};
+
class ExemptChanOps : public ListModeBase
{
public:
ExemptChanOps(Module* Creator)
- : ListModeBase(Creator, "exemptchanops", 'X', "End of channel exemptchanops list", 954, 953, false)
+ : ListModeBase(Creator, "exemptchanops", 'X', "End of channel exemptchanops list", RPL_EXEMPTIONLIST, RPL_ENDOFEXEMPTIONLIST, false)
{
syntax = "<restriction>:<prefix>";
}