diff options
author | Sadie Powell <sadie@witchery.services> | 2024-03-12 11:46:41 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-03-12 11:46:41 +0000 |
commit | 1a6060ac5bcd9346a39928bafb42a58fd023a6c8 (patch) | |
tree | 0b001f3231c1c88d81309c3475eb7f24c43d2380 /modules | |
parent | 6f57907416de70b80e318df6ce913df679c27188 (diff) |
Fix sending SVSTOPIC when topiclock is loaded on InspIRCd.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/protocol/inspircd3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/inspircd3.cpp b/modules/protocol/inspircd3.cpp index 425186d18..16a6ba1d4 100644 --- a/modules/protocol/inspircd3.cpp +++ b/modules/protocol/inspircd3.cpp @@ -180,7 +180,7 @@ class InspIRCd3Proto : public IRCDProto void SendTopic(const MessageSource &source, Channel *c) anope_override { - if (Servers::Capab.count("SVSTOPIC")) + if (Servers::Capab.count("TOPICLOCK")) { UplinkSocket::Message(c->WhoSends()) << "SVSTOPIC " << c->name << " " << c->topic_ts << " " << c->topic_setter << " :" << c->topic; } |