1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 03:16:38 +02:00

Add names for the numerics used by the core.

This commit is contained in:
Sadie Powell
2024-02-29 13:07:14 +00:00
parent 26919f41d2
commit 25bdcfcbc4
4 changed files with 63 additions and 25 deletions
+2 -1
View File
@@ -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