mirror of
https://github.com/anope/anope.git
synced 2026-06-27 00:36:38 +02:00
When changing the nick of a user on inspircd3 send the expected ts.
This should prevent users being renicked if they changed their nick between services sending the renick and the IRCd receiving it.
This commit is contained in:
@@ -112,6 +112,11 @@ class InspIRCd3Proto : public IRCDProto
|
||||
user->KillInternal(source, buf);
|
||||
}
|
||||
|
||||
void SendForceNickChange(User *u, const Anope::string &newnick, time_t when)
|
||||
{
|
||||
UplinkSocket::Message() << "SVSNICK " << u->GetUID() << " " << newnick << " " << when << " " << u->timestamp;
|
||||
}
|
||||
|
||||
void SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg) anope_override
|
||||
{
|
||||
UplinkSocket::Message(bi) << "NOTICE $" << dest->GetName() << " :" << msg;
|
||||
|
||||
Reference in New Issue
Block a user