diff options
| author | 2019-01-25 03:27:13 +0000 | |
|---|---|---|
| committer | 2019-01-25 03:27:13 +0000 | |
| commit | b4685e06d45336e7ce7cb138f8261ac120a2d6d3 (patch) | |
| tree | 5381913a67543db4e91a72a4949cf6cde2942711 /src/modules/m_connflood.cpp | |
| parent | Migrate m_ssl_gnutls from auto_ptr to shared_ptr. (diff) | |
Remove all 2.0 config compatibility code.
Diffstat (limited to 'src/modules/m_connflood.cpp')
| -rw-r--r-- | src/modules/m_connflood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index a7c4b2b37..27cf7ce2b 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -48,7 +48,7 @@ public: /* read configuration variables */ ConfigTag* tag = ServerInstance->Config->ConfValue("connflood"); /* throttle configuration */ - seconds = tag->getDuration("period", tag->getDuration("seconds", 30)); + seconds = tag->getDuration("period", 30); maxconns = tag->getUInt("maxconns", 3); timeout = tag->getDuration("timeout", 30); quitmsg = tag->getString("quitmsg"); |
