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:
+2
-1
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user