]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_permchannels.cpp
Remove the default value in ConfigTag::get{Duration,Float,Int}.
[user/henk/code/inspircd.git] / src / modules / m_permchannels.cpp
index 7e28c5fc65081dbbff95af4ba0455cec8f58a38d..95f01839ee8ccb7385f8a885129f594ac35f5124 100644 (file)
@@ -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()))