diff options
author | Kim Alvefur <zash@zash.se> | 2020-04-26 21:11:00 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-04-26 21:11:00 +0200 |
commit | db10f4fe1707d3b2610a5067a739108ad037adb7 (patch) | |
tree | 96780a2602abced9f1c728a749e44591ed44dd8e /plugins | |
parent | 42cbd7910fbc6d242aa4cae1ca7c161d87a30d11 (diff) | |
download | prosody-db10f4fe1707d3b2610a5067a739108ad037adb7.tar.gz prosody-db10f4fe1707d3b2610a5067a739108ad037adb7.zip |
mod_carbons: Fix syntax error [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_carbons.lua | 2 |
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 |