aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_carbons.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-26 21:11:00 +0200
committerKim Alvefur <zash@zash.se>2020-04-26 21:11:00 +0200
commitbec170ac73c3b7763cb66909c0301d11d316ff47 (patch)
tree96780a2602abced9f1c728a749e44591ed44dd8e /plugins/mod_carbons.lua
parentfe36680fba1a9010a3a9004066a33c7b0612b124 (diff)
downloadprosody-bec170ac73c3b7763cb66909c0301d11d316ff47.tar.gz
prosody-bec170ac73c3b7763cb66909c0301d11d316ff47.zip
mod_carbons: Fix syntax error [luacheck]
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r--plugins/mod_carbons.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua
index dfd2b3a4..09518bf7 100644
--- a/plugins/mod_carbons.lua
+++ b/plugins/mod_carbons.lua
@@ -30,7 +30,7 @@ local function should_copy(stanza, c2s, user_bare)
return false, "hint";
end
- if not c2s and and stanza.attr.to ~= user_bare and stanza:get_child("x", "http://jabber.org/protocol/muc#user") then
+ if not c2s and stanza.attr.to ~= user_bare and stanza:get_child("x", "http://jabber.org/protocol/muc#user") then
-- MUC PMs are normally sent to full JIDs
return false, "muc-pm";
end