diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-05-26 13:38:22 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-05-26 13:38:22 +0100 |
commit | bbfb44b088e4d16920f18a3cc3dfb19234da8663 (patch) | |
tree | cef5156dac5491b431ea2604a3fe34e7863f709a | |
parent | 6dd7c1aa05116fb9a331542a67bfaf8a25946a73 (diff) | |
parent | fb63a1dd606d5e837e1503377becd5244909fdd6 (diff) | |
download | prosody-bbfb44b088e4d16920f18a3cc3dfb19234da8663.tar.gz prosody-bbfb44b088e4d16920f18a3cc3dfb19234da8663.zip |
Merge 0.7->trunk
-rw-r--r-- | plugins/mod_groups.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/mod_groups.lua b/plugins/mod_groups.lua index de7b8302..5f821cbc 100644 --- a/plugins/mod_groups.lua +++ b/plugins/mod_groups.lua @@ -67,7 +67,9 @@ function remove_virtual_contacts(username, host, datastore, data) new_roster[jid] = contact; end end - new_roster[false].version = nil; -- Version is void + if new_roster[false] then + new_roster[false].version = nil; -- Version is void + end return username, host, datastore, new_roster; end |