diff options
| author | 2022-03-22 15:27:39 +0000 | |
|---|---|---|
| committer | 2022-03-22 15:27:39 +0000 | |
| commit | c87703e2a7805fd7566ba39b9dfdf6e836166e11 (patch) | |
| tree | 47db155833fac73ed67831340f149ce12383e994 /src/modules/m_connectban.cpp | |
| parent | Fix real name formatting bleeding into IRC messages. (diff) | |
Rename <connectban:duration> to <connectban:banduration>.
Diffstat (limited to 'src/modules/m_connectban.cpp')
| -rw-r--r-- | src/modules/m_connectban.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_connectban.cpp b/src/modules/m_connectban.cpp index d8741a141..55ac8886e 100644 --- a/src/modules/m_connectban.cpp +++ b/src/modules/m_connectban.cpp @@ -109,7 +109,7 @@ class ModuleConnectBan CXX11_FINAL threshold = tag->getUInt("threshold", 10, 1); bootwait = tag->getDuration("bootwait", 60*2); splitwait = tag->getDuration("splitwait", 60*2); - banduration = tag->getDuration("duration", 10*60, 1); + banduration = tag->getDuration("banduration", tag->getDuration("duration", 10*60), 1); banmessage = tag->getString("banmessage", "Your IP range has been attempting to connect too many times in too short a duration. Wait a while, and you will be able to connect."); if (status.initial) |
