Diff

plugins/mod_groups.lua @ 8992:972b6f793ff9

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 07 Jul 2018 21:00:59 +0200
parent 8989:5a25c5d22fe5
parent 8991:37ebcc7c6768
child 10111:0f335815244f
line wrap: on
line diff
--- a/plugins/mod_groups.lua	Sat Jul 07 21:00:14 2018 +0200
+++ b/plugins/mod_groups.lua	Sat Jul 07 21:00:59 2018 +0200
@@ -112,6 +112,8 @@
 				groups[curr_group][jid] = name or false;
 				members[jid] = members[jid] or {};
 				members[jid][#members[jid]+1] = curr_group;
+			elseif entryjid:match("%S") then
+				module:log("warn", "Invalid JID: %q", entryjid);
 			end
 		end
 	end