Software /
code /
prosody
Diff
plugins/muc/occupant.lib.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 |
parent | 7086:6cc7c9da29ed |
child | 12977:74b9e05af71e |