From b4685e06d45336e7ce7cb138f8261ac120a2d6d3 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 03:27:13 +0000 Subject: Remove all 2.0 config compatibility code. --- src/modules/m_repeat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_repeat.cpp') 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 > 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) -- cgit v1.3.1-10-gc9f91