Software / code / prosody
Diff
plugins/mod_register_limits.lua @ 10766:00d2a577204c
mod_register_limits: Fix typo error name (fix #1539 p2) (thanks Ge0rG)
Probably because autocomplete.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 23 Apr 2020 19:00:48 +0200 |
| parent | 10765:294923f45e25 |
| child | 10768:55a9e9bf6abb |
line wrap: on
line diff
--- a/plugins/mod_register_limits.lua Thu Apr 23 19:00:40 2020 +0200 +++ b/plugins/mod_register_limits.lua Thu Apr 23 19:00:48 2020 +0200 @@ -91,7 +91,7 @@ if not check_throttle(ip) then log("debug", "Registrations over limit for ip %s", ip or "?"); event.allowed = false; - event.error = errors.new("throttle", event, err_registry); + event.error = errors.new("throttled", event, err_registry); end end if event.error then