# HG changeset patch # User Kim Alvefur # Date 1587928260 -7200 # Node ID 22bbc644c5ebcea4ec59ed19a1c0712fc5f512d8 # Parent d95e083931d1f7c081eeb33e87477d0d0d624f1f mod_carbons: Fix syntax error [luacheck] diff -r d95e083931d1 -r 22bbc644c5eb plugins/mod_carbons.lua --- a/plugins/mod_carbons.lua Sun Apr 26 20:17:43 2020 +0200 +++ b/plugins/mod_carbons.lua Sun Apr 26 21:11:00 2020 +0200 @@ -30,7 +30,7 @@ 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