diff options
Diffstat (limited to 'Sluift/ElementConvertors')
-rw-r--r-- | Sluift/ElementConvertors/DiscoItemsConvertor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Sluift/ElementConvertors/DiscoItemsConvertor.cpp b/Sluift/ElementConvertors/DiscoItemsConvertor.cpp index a38e766..9049912 100644 --- a/Sluift/ElementConvertors/DiscoItemsConvertor.cpp +++ b/Sluift/ElementConvertors/DiscoItemsConvertor.cpp @@ -57,7 +57,7 @@ void DiscoItemsConvertor::doConvertToLua(lua_State* L, boost::shared_ptr<DiscoIt lua_pushstring(L, items[i].getNode().c_str()); lua_setfield(L, -2, "node"); } - if (!items[i].getJID().isValid()) { + if (items[i].getJID().isValid()) { lua_pushstring(L, items[i].getJID().toString().c_str()); lua_setfield(L, -2, "jid"); } |