summaryrefslogtreecommitdiff
path: root/src/modules/m_showfile.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-04-22 14:31:28 +0100
committerPeter Powell <petpow@saberuk.com>2018-04-22 14:35:38 +0100
commit48a400f2e068527b338ceecf8ed1dde2da971ca9 (patch)
tree93375f28863762b4190a5e4cedfdfa44d6c3dab6 /src/modules/m_showfile.cpp
parentba31d8080f75a0147d0b380f2c51251e024f0deb (diff)
Move a bunch of optional module numerics to the module source file.
Diffstat (limited to 'src/modules/m_showfile.cpp')
-rw-r--r--src/modules/m_showfile.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp
index b04b699c4..2d1354aff 100644
--- a/src/modules/m_showfile.cpp
+++ b/src/modules/m_showfile.cpp
@@ -19,6 +19,15 @@
#include "inspircd.h"
+enum
+{
+ // From UnrealIRCd.
+ RPL_RULES = 232,
+ RPL_RULESTART = 308,
+ RPL_RULESEND = 309,
+ ERR_NORULES = 434
+};
+
class CommandShowFile : public Command
{
enum Method