From 7ef2f87e39bd22c7914caf7f2afbb1a3bf8fbd43 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 14 Apr 2018 16:53:03 +0100 Subject: Remove the default value in ConfigTag::get{Duration,Float,Int}. --- src/modules/m_permchannels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_permchannels.cpp') diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 7e28c5fc6..95f01839e 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -206,7 +206,7 @@ public: time_t TS = tag->getInt("ts", ServerInstance->Time(), 1); c = new Channel(channel, TS); - unsigned int topicset = tag->getInt("topicts"); + unsigned int topicset = tag->getInt("topicts", 0); std::string topic = tag->getString("topic"); if ((topicset != 0) || (!topic.empty())) -- cgit v1.3.1-10-gc9f91