plugins/mod_register_limits.lua
changeset 10770 00d2a577204c
parent 10769 294923f45e25
child 10772 55a9e9bf6abb
--- 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