Changeset

10780:22bbc644c5eb

mod_carbons: Fix syntax error [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 26 Apr 2020 21:11:00 +0200
parents 10779:d95e083931d1
children 10781:f7e8d299513f
files plugins/mod_carbons.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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