From 25bdcfcbc472b8e348aa338d8ebb0a18fd006fff Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 29 Feb 2024 13:07:14 +0000 Subject: Add names for the numerics used by the core. --- modules/protocol/ngircd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/protocol') 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 -- cgit