aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-07-07 21:00:59 +0200
committerKim Alvefur <zash@zash.se>2018-07-07 21:00:59 +0200
commit9a136fef54c5e92f6ff7354655f8cb9036f808e3 (patch)
tree74e7237a7e9ba964dd0f82a3546e4e9950891716
parent5ec1508a1690749c1a6e8d95d9f1036b81e8f9d2 (diff)
parent220816dc8a0eaaa8f41c4d86430ac468687f31f1 (diff)
downloadprosody-9a136fef54c5e92f6ff7354655f8cb9036f808e3.tar.gz
prosody-9a136fef54c5e92f6ff7354655f8cb9036f808e3.zip
Merge 0.10->trunk
-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