1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 18:56:37 +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
@@ -910,12 +910,12 @@ void Channel::ChangeTopic(const Anope::string &user, const Anope::string &newtop
{
User *u = finduser(user);
ircdproto->SendTopic(this->ci->WhoSends(), this, newtopic, u ? u->nick : user, ts);
this->topic = newtopic;
this->topic_setter = u ? u->nick : user;
this->topic_time = ts;
ircdproto->SendTopic(this->ci->WhoSends(), this);
FOREACH_MOD(I_OnTopicUpdated, OnTopicUpdated(this, user, this->topic));
if (this->ci)