summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-02 22:16:35 -0400
committerAdam <Adam@anope.org>2012-10-02 22:16:35 -0400
commit87478187af9f6f670ebf679ce7cc6cc29b21f7af (patch)
tree52568515b06b380ee57813b904b98ca04ebdaeab /modules/protocol/plexus.cpp
parent7042223f2eb486e8d1aec9fd176d416096a6e927 (diff)
Fix topiclock on inspircd
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp
index f0b213eab..291c3c6eb 100644
--- a/modules/protocol/plexus.cpp
+++ b/modules/protocol/plexus.cpp
@@ -223,9 +223,9 @@ class PlexusProto : public IRCDProto
UplinkSocket::Message(Me) << "ENCAP * SU " << u->GetUID();
}
- void SendTopic(BotInfo *bi, Channel *c) anope_override
+ void SendTopic(BotInfo *bi, Channel *c, const Anope::string &topic, const Anope::string &setter, time_t &ts) anope_override
{
- UplinkSocket::Message(bi) << "ENCAP * TOPIC " << c->name << " " << c->topic_setter << " " << c->topic_time + 1 << " :" << c->topic;
+ UplinkSocket::Message(bi) << "ENCAP * TOPIC " << c->name << " " << setter << " " << ts << " :" << topic;
}
void SendChannel(Channel *c) anope_override