aboutsummaryrefslogtreecommitdiffstats
path: root/src/users.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/users.cpp
parentMerge branch 'insp3' into master. (diff)
Move numerics to the source files where they are actually used.
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 5ce55b51c..94ecf72da 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -37,6 +37,16 @@
#include "inspircd.h"
#include "xline.h"
+enum
+{
+ // From RFC 1459.
+ RPL_YOUAREOPER = 381,
+ ERR_NICKNAMEINUSE = 433,
+
+ // From ircu.
+ RPL_YOURDISPLAYEDHOST = 396,
+};
+
ClientProtocol::MessageList LocalUser::sendmsglist;
bool User::IsNoticeMaskSet(unsigned char sm)