summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2013-09-21 06:41:05 (GMT)
committerRemko Tronçon <git@el-tramo.be>2013-09-21 06:41:34 (GMT)
commit9399f2bdad72aa6d14620277cbef5b136d47d8a3 (patch)
treeedc6601070fc66a9d115cffa28b1a03eae331d06
parentf3f717d09fddbcefeac03e5c99a42be43a1551be (diff)
downloadswift-9399f2bdad72aa6d14620277cbef5b136d47d8a3.zip
swift-9399f2bdad72aa6d14620277cbef5b136d47d8a3.tar.bz2
Sluift: Fix bug in DiscoItems element convertor
Change-Id: I02f038865850b8d86ee85115ef9a63cc2ce0db8e
-rw-r--r--Sluift/ElementConvertors/DiscoItemsConvertor.cpp2
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");
}