]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_permchannels.cpp
Always set the topic in Channel::SetTopic(), move access checks into cmd_topic
[user/henk/code/inspircd.git] / src / modules / m_permchannels.cpp
index ff1a35ba913e62bbe3ed1cf1cb4daac0daa703ed..0b4d96c0f421b6b4b938513cb6746fa0bdbe0bbe 100644 (file)
@@ -197,7 +197,7 @@ public:
                                c = new Channel(channel, ServerInstance->Time());
                                if (!topic.empty())
                                {
-                                       c->SetTopic(ServerInstance->FakeClient, topic, true);
+                                       c->SetTopic(ServerInstance->FakeClient, topic);
 
                                        /*
                                         * Due to the way protocol works in 1.2, we need to hack the topic TS in such a way that this