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

Fix topiclock on inspircd

This commit is contained in:
Adam
2012-10-02 22:16:35 -04:00
parent 7042223f2e
commit 87478187af
9 changed files with 22 additions and 17 deletions
+2 -2
View File
@@ -197,7 +197,7 @@ class RatboxProto : public IRCDProto
return true;
}
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
{
bool needjoin = c->FindUser(bi) == NULL;
if (needjoin)
@@ -206,7 +206,7 @@ class RatboxProto : public IRCDProto
status.SetFlag(CMODE_OP);
bi->Join(c, &status);
}
IRCDProto::SendTopic(bi, c);
IRCDProto::SendTopic(bi, c, topic, setter, ts);
if (needjoin)
bi->Part(c);
}