1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 06:56:40 +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
@@ -18,6 +18,7 @@
#include "uplink.h"
#include "bots.h"
#include "channels.h"
#include "numeric.h"
IRCDProto *IRCD = NULL;
@@ -334,7 +335,7 @@ bool IRCDProto::IsHostValid(const Anope::string &host)
void IRCDProto::SendOper(User *u)
{
SendNumeric(381, u->GetUID(), "You are now an IRC operator (set by services)");
SendNumeric(RPL_YOUREOPER, u->GetUID(), "You are now an IRC operator (set by services)");
u->SetMode(NULL, "OPER");
}