Changeset

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
parents 10765:294923f45e25
children 10767:a0166932479f
files plugins/mod_register_limits.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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