aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-23 19:24:27 +0200
committerKim Alvefur <zash@zash.se>2020-04-23 19:24:27 +0200
commit14083d021e63d308c445bb4713a706eb53273e90 (patch)
tree02958290a26182f053f522f98eb11f0cfe5edf16 /plugins
parentd2aa477111130cd0bd677dc61513c30463a642a5 (diff)
downloadprosody-14083d021e63d308c445bb4713a706eb53273e90.tar.gz
prosody-14083d021e63d308c445bb4713a706eb53273e90.zip
mod_register_limits: Fix text reason field name for 'throttled'
Copy-paste mistake presumably
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_register_limits.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_register_limits.lua b/plugins/mod_register_limits.lua
index 0fe6a98a..7c80f18b 100644
--- a/plugins/mod_register_limits.lua
+++ b/plugins/mod_register_limits.lua
@@ -67,7 +67,7 @@ local err_registry = {
condition = "forbidden";
};
throttled = {
- reason = "Too many registrations from this IP address recently";
+ text = "Too many registrations from this IP address recently";
type = "wait";
condition = "policy-violation";
};