1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:04:47 +02:00

Revamp support for swhois.

This commit is contained in:
Sadie Powell
2026-02-10 18:26:51 +00:00
parent bc737c20c9
commit 5aeb078391
3 changed files with 52 additions and 7 deletions
+5 -1
View File
@@ -80,6 +80,9 @@ public:
/** Can we force servers to remove opers? */
bool CanSVSNOOP = false;
/** Can we send multiple swhois messages? */
bool CanSendMultipleSWhois = false;
/* Can we set vhosts on users? */
bool CanSetVHost = false;
@@ -276,7 +279,8 @@ public:
virtual void SendSVSHold(const Anope::string &, time_t) { }
virtual void SendSVSHoldDel(const Anope::string &) { }
virtual void SendSWhois(const MessageSource &, const Anope::string &, const Anope::string &) { }
virtual void SendSWhois(const MessageSource &source, User *target, const Anope::string &tag, const Anope::string &message) { };
virtual void SendSWhoisDel(const MessageSource &source, User *target, const Anope::string &tag, const Anope::string &message) { }
/** Introduces a server to the uplink
*/