aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mimicking.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-12-01 23:03:11 +0100
committerKim Alvefur <zash@zash.se>2021-12-01 23:03:11 +0100
commit7182a72911b677f951facf49ebe01c8ab4fa7376 (patch)
treecdb7e0672f9a77c83c858ec806193b654d625600 /plugins/mod_mimicking.lua
parenta7783d452a83eb5a67c380ccb12989111827a3c6 (diff)
downloadprosody-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_mimicking.lua')
0 files changed, 0 insertions, 0 deletions