# HG changeset patch # User Kim Alvefur # Date 1587661248 -7200 # Node ID 00d2a577204c9cce7ec7079a386fc1dcc44ffd51 # Parent 294923f45e255effd3a846211a300ebf7963ff85 mod_register_limits: Fix typo error name (fix #1539 p2) (thanks Ge0rG) Probably because autocomplete. diff -r 294923f45e25 -r 00d2a577204c plugins/mod_register_limits.lua --- 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