Software /
code /
prosody
Comparison
plugins/muc/lock.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 | 10450:c1edeb9fe337 |
child | 12977:74b9e05af71e |
comparison
equal
deleted
inserted
replaced
11979:705c4c07a860 | 11980:a91494a4c3d0 |
---|