aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_check.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-02-22 12:52:18 +0100
committerGravatar Attila Molnar2016-02-22 12:52:18 +0100
commit0b63ccd0b5cb26883d6becb196fb98e4f95d0397 (patch)
treed9c660b46e106d76c5953579eca45e49c4486cbf /src/modules/m_check.cpp
parentMerge pull request #1139 from johanna-a/master (diff)
parentRelease v2.0.21 (diff)
downloadinspircd++-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.cpp2
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);