diff options
| author | 2016-02-22 12:52:18 +0100 | |
|---|---|---|
| committer | 2016-02-22 12:52:18 +0100 | |
| commit | 0b63ccd0b5cb26883d6becb196fb98e4f95d0397 (patch) | |
| tree | d9c660b46e106d76c5953579eca45e49c4486cbf /src/modules/m_check.cpp | |
| parent | Merge pull request #1139 from johanna-a/master (diff) | |
| parent | Release v2.0.21 (diff) | |
| download | inspircd++-0b63ccd0b5cb26883d6becb196fb98e4f95d0397.tar.gz inspircd++-0b63ccd0b5cb26883d6becb196fb98e4f95d0397.tar.bz2 inspircd++-0b63ccd0b5cb26883d6becb196fb98e4f95d0397.zip | |
Merge insp20
Diffstat (limited to 'src/modules/m_check.cpp')
| -rw-r--r-- | src/modules/m_check.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 6f9c32fb1..22dcf730f 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -213,7 +213,7 @@ class CommandCheck : public Command /* /check on a channel */ user->SendText(checkstr + " timestamp " + timestring(targchan->age)); - if (targchan->topic[0] != 0) + if (!targchan->topic.empty()) { /* there is a topic, assume topic related information exists */ user->SendText(checkstr + " topic " + targchan->topic); |
