aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-04-23 20:01:41 +0200
committerKim Alvefur <zash@zash.se>2024-04-23 20:01:41 +0200
commitcbd39823086a5e395133cf4c8c3cbb81ad0c12be (patch)
tree95cf6200c38e28ec21139135f1f4c8cb18b59958
parentf94d5d2f7f93ee855e407b793e631944322cc7c1 (diff)
downloadprosody-cbd39823086a5e395133cf4c8c3cbb81ad0c12be.tar.gz
prosody-cbd39823086a5e395133cf4c8c3cbb81ad0c12be.zip
mod_blocklist: Fix fix signal for letting stanzas pass
Returning nothing/nil lets stanzas pass, returning anything else blocks
-rw-r--r--plugins/mod_blocklist.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/mod_blocklist.lua b/plugins/mod_blocklist.lua
index 99773b3a..e9a103c8 100644
--- a/plugins/mod_blocklist.lua
+++ b/plugins/mod_blocklist.lua
@@ -276,8 +276,6 @@ local function drop_stanza(event)
end
end
end
-
- return false;
end
end