diff options
author | Sadie Powell <sadie@witchery.services> | 2023-11-16 19:33:51 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2023-11-16 19:34:37 +0000 |
commit | 46209895e3f46f183a293fe26e26bdfdc2423e8d (patch) | |
tree | 92d920eda88107c25d368050df972da7005c9354 /modules/protocol/inspircd.cpp | |
parent | b28180d680f974b7d3cf72667681b8cda6a39b0a (diff) | |
parent | ba163027bd9d62d3ae22bc1f8eb8cbe8bc478bf7 (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/protocol/inspircd.cpp')
-rw-r--r-- | modules/protocol/inspircd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 3183e59ee..70475b20c 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -120,6 +120,11 @@ class InspIRCdProto : public IRCDProto user->KillInternal(source, buf); } + void SendForceNickChange(User *u, const Anope::string &newnick, time_t when) override + { + UplinkSocket::Message() << "SVSNICK " << u->GetUID() << " " << newnick << " " << when << " " << u->timestamp; + } + void SendGlobalNotice(BotInfo *bi, const Server *dest, const Anope::string &msg) override { UplinkSocket::Message(bi) << "NOTICE $" << dest->GetName() << " :" << msg; |