aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_repeat.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-01-25 03:27:13 +0000
committerGravatar Sadie Powell2019-01-25 03:27:13 +0000
commitb4685e06d45336e7ce7cb138f8261ac120a2d6d3 (patch)
tree5381913a67543db4e91a72a4949cf6cde2942711 /src/modules/m_repeat.cpp
parentMigrate m_ssl_gnutls from auto_ptr to shared_ptr. (diff)
Remove all 2.0 config compatibility code.
Diffstat (limited to 'src/modules/m_repeat.cpp')
-rw-r--r--src/modules/m_repeat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_repeat.cpp b/src/modules/m_repeat.cpp
index 8b4d7afd7..77e744788 100644
--- a/src/modules/m_repeat.cpp
+++ b/src/modules/m_repeat.cpp
@@ -235,7 +235,7 @@ class RepeatMode : public ParamMode<RepeatMode, SimpleExtItem<ChannelSettings> >
ConfigTag* conf = ServerInstance->Config->ConfValue("repeat");
ms.MaxLines = conf->getUInt("maxlines", 20);
ms.MaxBacklog = conf->getUInt("maxbacklog", 20);
- ms.MaxSecs = conf->getDuration("maxtime", conf->getDuration("maxsecs", 0));
+ ms.MaxSecs = conf->getDuration("maxtime", 0);
ms.MaxDiff = conf->getUInt("maxdistance", 50);
if (ms.MaxDiff > 100)