aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_limits.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_limits: Remove an unused variableKim Alvefur2019-12-231-1/+1
| | | | | Hope this isn't meant to be used. 'outstanding' seems to be the more useful value anyways?
* plugins: Remove tostring call from loggingKim Alvefur2019-07-301-1/+1
| | | | | | Taken care of by loggingmanager now Mass-rewrite using lua pattern like `tostring%b()`
* mod_limits: Use rate limiting in net.server if providedKim Alvefur2019-03-291-5/+15
| | | | | This should be simpler and more efficient, as well avoid problems caused by using filters.
* mod_limits: Fix typoKim Alvefur2019-04-021-1/+1
|
* mod_limits: Allow configuring a list of unrestricted JIDs (fixes #1323)Kim Alvefur2019-04-021-0/+17
|
* mod_limits: Fix indentationKim Alvefur2019-04-021-5/+5
| | | | Appears to have been messed up in 60e113f3682f
* mod_limits: Rename variable to avoid name clash [luacheck]Kim Alvefur2018-05-021-5/+5
| | | | FIXME better name, s_throttle doesn't seem nice
* mod_limits: Fix typo in commentKim Alvefur2017-12-051-1/+1
|
* mod_limits: Handle fractional outstanding balance values (caused by ↵Matthew Wild2017-09-261-0/+2
| | | | | | | e3f7b6fa46ba) Fractional values were passed to string.sub() when doing buffer manipulations, and caused random bytes to be skipped in the stream.
* mod_limits: Import from prosody-modules 2c59f2f0c37d (fixes #129)Matthew Wild2017-09-231-0/+96