1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 21:26:38 +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
@@ -346,10 +346,10 @@ private:
Uplink::Send("SENDUMODE", 'o', "From " + source.GetName() + ": " + buf);
}
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
{
const auto utag = tag.empty() ? source.GetName() : tag;
Uplink::Send(source, "SWHOIS", target->GetUID(), "+", utag, 0, message);
Uplink::Send(source, "SWHOIS", target->GetUID(), "+", utag, priority, message);
}
void SendSWhoisDel(const MessageSource &source, User *target, const Anope::string &tag, const Anope::string &message) override