summaryrefslogtreecommitdiff
path: root/src/messages.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-01-28 22:57:15 -0500
committerAdam <Adam@anope.org>2015-01-28 22:57:15 -0500
commit845ca576b4c5a94f0a3ec12a4dd524a7d017155e (patch)
tree2636bc0ccdf94f957a955277dd89155de49360b6 /src/messages.cpp
parent2264a206d262f07f6c6d91df867383d6413e0c3f (diff)
More properly track topic change sources and allow users with access to change topics through topiclock
Diffstat (limited to 'src/messages.cpp')
-rw-r--r--src/messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/messages.cpp b/src/messages.cpp
index a771b2f1f..4e1bcd0db 100644
--- a/src/messages.cpp
+++ b/src/messages.cpp
@@ -472,7 +472,7 @@ void Topic::Run(MessageSource &source, const std::vector<Anope::string> &params)
{
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;
}