1
0
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:
Peter Powell
2019-03-30 13:27:43 +00:00
committed by P. Powell
parent 7045f206af
commit ae16206f0c
+1 -2
View File
@@ -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