Software / code / prosody
Comparison
plugins/mod_register_limits.lua @ 10768:55a9e9bf6abb
mod_register_limits: Fix text reason field name for 'throttled'
Copy-paste mistake presumably
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 23 Apr 2020 19:24:27 +0200 |
| parent | 10766:00d2a577204c |
| child | 11807:f5295e59ca78 |
comparison
equal
deleted
inserted
replaced
| 10767:a0166932479f | 10768:55a9e9bf6abb |
|---|---|
| 65 text = "Your IP address is not whitelisted"; | 65 text = "Your IP address is not whitelisted"; |
| 66 type = "auth"; | 66 type = "auth"; |
| 67 condition = "forbidden"; | 67 condition = "forbidden"; |
| 68 }; | 68 }; |
| 69 throttled = { | 69 throttled = { |
| 70 reason = "Too many registrations from this IP address recently"; | 70 text = "Too many registrations from this IP address recently"; |
| 71 type = "wait"; | 71 type = "wait"; |
| 72 condition = "policy-violation"; | 72 condition = "policy-violation"; |
| 73 }; | 73 }; |
| 74 } | 74 } |
| 75 | 75 |