mirror of
https://github.com/anope/anope.git
synced 2026-07-09 20:03:13 +02:00
More properly track topic change sources and allow users with access to change topics through topiclock
This commit is contained in:
+1
-1
@@ -472,7 +472,7 @@ void Topic::Run(MessageSource &source, const std::vector<Anope::string> ¶ms)
|
||||
{
|
||||
Channel *c = Channel::Find(params[0]);
|
||||
if (c)
|
||||
c->ChangeTopicInternal(source.GetSource(), params[1], Anope::CurTime);
|
||||
c->ChangeTopicInternal(source.GetUser(), source.GetSource(), params[1], Anope::CurTime);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user