Mercurial > prosody-hg
diff plugins/mod_auth_anonymous.lua @ 11980:a91494a4c3d0
mod_smacks: Fix empty cache check
In Lua, every value except `nil` and `false` are considered true in
boolean expressions, even `0` as here, which means this was dead code.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Wed, 01 Dec 2021 23:03:11 +0100 |
| parents | d60094d9b458 |
| children | 74b9e05af71e |
