plugins/mod_carbons.lua
changeset 10784 22bbc644c5eb
parent 10783 d95e083931d1
child 10785 f7e8d299513f
--- 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