aboutsummaryrefslogtreecommitdiffstats
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
commitfcb1c5ba2c0c6d75f0ce758d7a01105e92634aba (patch)
tree02958290a26182f053f522f98eb11f0cfe5edf16
parent7e72aa8bc59a93d88e3b87cbe3ddb61933b0b215 (diff)
downloadprosody-fcb1c5ba2c0c6d75f0ce758d7a01105e92634aba.tar.gz
prosody-fcb1c5ba2c0c6d75f0ce758d7a01105e92634aba.zip
mod_register_limits: Fix text reason field name for 'throttled'
Copy-paste mistake presumably
-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";
};