aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_joinflood.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-04-12 00:52:10 +0100
committerGravatar Sadie Powell2022-04-12 00:52:10 +0100
commitfa8c035373a7c20a2f533ec565acd385fef2c7c9 (patch)
treeb12f69b93c3ce4b13435a231dfbbcb2af80f1d97 /src/modules/m_joinflood.cpp
parentFix using notices instead of the appropriate numerics in rmode. (diff)
Use ERR_UNAVAILRESOURCE for things that should be retried later.
Also move it to the global numerics header to avoid duplication.
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r--src/modules/m_joinflood.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 90397e980..62b39f246 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -26,12 +26,6 @@
#include "inspircd.h"
#include "modules/server.h"
-enum
-{
- // From RFC 2182.
- ERR_UNAVAILRESOURCE = 437
-};
-
// The number of seconds the channel will be closed for.
static unsigned int duration;