diff options
| author | 2018-03-25 13:24:38 -0700 | |
|---|---|---|
| committer | 2018-03-25 21:24:38 +0100 | |
| commit | 90ec02cc9836e68628eed021ab0ee351e1e066e2 (patch) | |
| tree | 52ae677b7d6d68a335191737aa2c6c6ace3dc04d /src | |
| parent | Separate secret and private channels on whois for non-opers (#1447) (diff) | |
Do not send unset topics on channel join per RFC (#1469)
Fixes #1091.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coremods/core_channel/core_channel.cpp | 2 |
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 |
