aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2018-04-14 16:53:03 +0100
committerGravatar Peter Powell2018-04-16 15:07:06 +0100
commit7ef2f87e39bd22c7914caf7f2afbb1a3bf8fbd43 (patch)
tree29c9efd1c7f1f2e3c9e8d058068c28d5b66c40e0 /src/modules/m_permchannels.cpp
parentUse an oper priv instead of a config flag for overriding nonicks. (diff)
Remove the default value in ConfigTag::get{Duration,Float,Int}.
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp2
1 files changed, 1 insertions, 1 deletions
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()))