aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_groups.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua
index 29555abe..646b7408 100644
--- a/plugins/mod_groups.lua
+++ b/plugins/mod_groups.lua
@@ -112,6 +112,8 @@ function module.load()
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