aboutsummaryrefslogtreecommitdiff
path: root/src/listmode.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-06-26 15:20:06 +0100
committerGravatar Sadie Powell2022-06-26 15:29:29 +0100
commit89712e2e84af1230232985c680846208a932d72b (patch)
treee6c43c55013a7b40e6f62c7d2410cd7790a9863a /src/listmode.cpp
parentMerge branch 'insp3' into master. (diff)
Move numerics to the source files where they are actually used.
Diffstat (limited to 'src/listmode.cpp')
-rw-r--r--src/listmode.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp
index 9956ded25..3ef60f095 100644
--- a/src/listmode.cpp
+++ b/src/listmode.cpp
@@ -22,6 +22,13 @@
#include "inspircd.h"
#include "listmode.h"
+enum
+{
+ // InspIRCd-specific.
+ ERR_LISTMODEALREADYSET = 697,
+ ERR_LISTMODENOTSET = 698,
+};
+
ListModeBase::ListModeBase(Module* Creator, const std::string& Name, char modechar, unsigned int lnum, unsigned int eolnum)
: ModeHandler(Creator, Name, modechar, PARAM_ALWAYS, MODETYPE_CHANNEL, MC_LIST)
, listnumeric(lnum)