summaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2013-06-02 19:10:05 +0200
committerattilamolnar <attilamolnar@hush.com>2013-06-04 01:49:14 +0200
commit3a01b55a118d4937b75541fbf385180f7106fa12 (patch)
tree8763f43fba9337b289a2dc3bc4fe26b88c461864 /src/modules/m_permchannels.cpp
parent263c2efd960057f1cfafd40fce338605c39b0ad4 (diff)
Remove NULL checks from various Channel functions
Passing NULL to these functions are not permitted and must be avoided by the caller
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 0bf67ed76..8aa888485 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -232,7 +232,7 @@ public:
c = new Channel(channel, ServerInstance->Time());
if (!topic.empty())
{
- c->SetTopic(NULL, topic, true);
+ c->SetTopic(ServerInstance->FakeClient, topic, true);
/*
* Due to the way protocol works in 1.2, we need to hack the topic TS in such a way that this