mirror of
https://github.com/anope/anope.git
synced 2026-07-07 15:43:15 +02:00
Use NUM instead of PUSH for sending numerics to clients.
This commit is contained in:
@@ -234,8 +234,7 @@ class InspIRCd3Proto : public IRCDProto
|
||||
|
||||
void SendNumericInternal(int numeric, const Anope::string &dest, const Anope::string &buf) anope_override
|
||||
{
|
||||
User *u = User::Find(dest);
|
||||
UplinkSocket::Message() << "PUSH " << dest << " ::" << Me->GetName() << " " << numeric << " " << (u ? u->nick : dest) << " " << buf;
|
||||
UplinkSocket::Message() << "NUM " << Me->GetSID() << " " << dest << " " << numeric << " " << buf;
|
||||
}
|
||||
|
||||
void SendModeInternal(const MessageSource &source, const Channel *dest, const Anope::string &buf) anope_override
|
||||
|
||||
Reference in New Issue
Block a user