diff -r 46cb6e772e31 -r 1537dabc5df8 clix/export.lua --- a/clix/export.lua Wed Apr 20 02:00:16 2011 +0200 +++ b/clix/export.lua Thu May 05 01:30:06 2011 +0200 @@ -45,7 +45,7 @@ , function(stanza) conn:debug("got private %s*%s", node[2], node[1]); local query = stanza:get_child("query", xmlns_private); - if query then + if query and #query > 0 then export:add_child(query); end out = out - 1;