diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-06-02 19:10:05 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-06-04 01:49:14 +0200 |
commit | 3a01b55a118d4937b75541fbf385180f7106fa12 (patch) | |
tree | 8763f43fba9337b289a2dc3bc4fe26b88c461864 /src/modules/m_permchannels.cpp | |
parent | 263c2efd960057f1cfafd40fce338605c39b0ad4 (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.cpp | 2 |
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 |