Diff

plugins/mod_carbons.lua @ 10780:22bbc644c5eb

mod_carbons: Fix syntax error [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 26 Apr 2020 21:11:00 +0200
parent 10779:d95e083931d1
child 10781:f7e8d299513f
line wrap: on
line diff
--- 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