diff options
author | Adam <Adam@anope.org> | 2015-01-28 22:57:15 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-01-28 22:57:15 -0500 |
commit | 845ca576b4c5a94f0a3ec12a4dd524a7d017155e (patch) | |
tree | 2636bc0ccdf94f957a955277dd89155de49360b6 /modules/protocol/unreal.cpp | |
parent | 2264a206d262f07f6c6d91df867383d6413e0c3f (diff) |
More properly track topic change sources and allow users with access to change topics through topiclock
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r-- | modules/protocol/unreal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 40cb1fe70..1bb0db657 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -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); } }; |