Changeset

8992:972b6f793ff9

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 07 Jul 2018 21:00:59 +0200
parents 8990:903351e082aa (current diff) 8991:37ebcc7c6768 (diff)
children 8993:bd9b67f742c9
files plugins/mod_groups.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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