summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/coremods/core_channel/core_channel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_channel/core_channel.cpp b/src/coremods/core_channel/core_channel.cpp
index 20e93ec07..66630fbc3 100644
--- a/src/coremods/core_channel/core_channel.cpp
+++ b/src/coremods/core_channel/core_channel.cpp
@@ -147,7 +147,7 @@ class CoreModChannel : public Module, public CheckExemption::EventListener
// Remove existing invite, if any
invapi.Remove(localuser, chan);
- if (chan->topicset)
+ if (chan->topic.length())
Topic::ShowTopic(localuser, chan);
// Show all members of the channel, including invisible (+i) users