diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-01 23:03:11 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-01 23:03:11 +0100 |
commit | 7182a72911b677f951facf49ebe01c8ab4fa7376 (patch) | |
tree | cdb7e0672f9a77c83c858ec806193b654d625600 /plugins/mod_disco.lua | |
parent | a7783d452a83eb5a67c380ccb12989111827a3c6 (diff) | |
download | prosody-7182a72911b677f951facf49ebe01c8ab4fa7376.tar.gz prosody-7182a72911b677f951facf49ebe01c8ab4fa7376.zip |
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.
Diffstat (limited to 'plugins/mod_disco.lua')
0 files changed, 0 insertions, 0 deletions