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:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user