1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 01:43:12 +02:00

Revert "Fix topiclock on inspircd"

This reverts commit 87478187af.
This commit is contained in:
Adam
2012-10-02 22:59:20 -04:00
parent 87478187af
commit 47bc551485
9 changed files with 17 additions and 22 deletions
+2 -2
View File
@@ -197,7 +197,7 @@ class RatboxProto : public IRCDProto
return true;
}
void SendTopic(BotInfo *bi, Channel *c, const Anope::string &topic, const Anope::string &setter, time_t &ts) anope_override
void SendTopic(BotInfo *bi, Channel *c) 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, topic, setter, ts);
IRCDProto::SendTopic(bi, c);
if (needjoin)
bi->Part(c);
}