mirror of
https://github.com/anope/anope.git
synced 2026-07-01 12:26:39 +02:00
More properly track topic change sources and allow users with access to change topics through topiclock
This commit is contained in:
@@ -1146,7 +1146,7 @@ struct IRCDMessageTopic : IRCDMessage
|
||||
{
|
||||
Channel *c = Channel::Find(params[0]);
|
||||
if (c)
|
||||
c->ChangeTopicInternal(params[1], params[3], Anope::string(params[2]).is_pos_number_only() ? convertTo<time_t>(params[2]) : Anope::CurTime);
|
||||
c->ChangeTopicInternal(source.GetUser(), params[1], params[3], Anope::string(params[2]).is_pos_number_only() ? convertTo<time_t>(params[2]) : Anope::CurTime);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user