1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 04:43:12 +02:00

Allow specifying the order of ns_set_misc entries.

This commit is contained in:
Kufat
2026-06-08 04:36:18 -04:00
committed by GitHub
parent 9280d90aba
commit d1f6da1817
5 changed files with 23 additions and 9 deletions
+2 -2
View File
@@ -587,7 +587,7 @@ public:
Uplink::Send(source, "SVSPART", u->GetUID(), chan);
}
void SendSWhois(const MessageSource &source, User *target, const Anope::string &tag, const Anope::string &message) override
void SendSWhois(const MessageSource &source, User *target, const Anope::string &tag, time_t priority, const Anope::string &message) override
{
if (!IRCD->CanSendMultipleSWhois)
{
@@ -598,7 +598,7 @@ public:
{
// New style SWHOIS.
Uplink::Send("METADATA", target->GetUID(), "specialwhois", Anope::Format("+ @%s s %ld :%s",
tag.c_str(), Anope::CurTime, message.c_str()));
tag.c_str(), priority ? priority : Anope::CurTime, message.c_str()));
}
}