summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-29 13:07:14 +0000
committerSadie Powell <sadie@witchery.services>2024-02-29 13:07:14 +0000
commit25bdcfcbc472b8e348aa338d8ebb0a18fd006fff (patch)
tree6ccd249120c0d3281a5b0b25f6cff1d65445c703 /modules
parent26919f41d2e2089ca0a4f402cd948d067d030704 (diff)
Add names for the numerics used by the core.
Diffstat (limited to 'modules')
-rw-r--r--modules/protocol/ngircd.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp
index c16ab44a8..773fab805 100644
--- a/modules/protocol/ngircd.cpp
+++ b/modules/protocol/ngircd.cpp
@@ -10,6 +10,7 @@
*/
#include "module.h"
+#include "numeric.h"
namespace
{
@@ -72,7 +73,7 @@ public:
SendServer(Me);
/* finish the enhanced server handshake and register the connection */
- this->SendNumeric(376, "*", "End of MOTD command");
+ this->SendNumeric(RPL_ENDOFMOTD, "*", "End of MOTD command");
}
void SendForceNickChange(User *u, const Anope::string &newnick, time_t when) override