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
commite7cae3b63ebaa30fe7bc77c6c0d1c030bd83d83a (patch)
tree74e7237a7e9ba964dd0f82a3546e4e9950891716
parent02b86f45f97b3db52b3e9597abf6f9e5aaba8302 (diff)
parent81da3564dcab51e1677b15eaf02baf0f0abd8d0e (diff)
downloadprosody-e7cae3b63ebaa30fe7bc77c6c0d1c030bd83d83a.tar.gz
prosody-e7cae3b63ebaa30fe7bc77c6c0d1c030bd83d83a.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