summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_chatrooms.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_chatrooms.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_chatrooms.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_chatrooms.cpp b/protocols/SkypeWeb/src/skype_chatrooms.cpp
index 24d77aef8d..0477c27fdb 100644
--- a/protocols/SkypeWeb/src/skype_chatrooms.cpp
+++ b/protocols/SkypeWeb/src/skype_chatrooms.cpp
@@ -328,8 +328,8 @@ void CSkypeProto::OnChatEvent(JSONNODE *node)
{
HXML xmlId = xi.getChildByPath(xmlNode, _T("id"), 0);
HXML xmlRole = xi.getChildByPath(xmlNode, _T("role"), 0);
- xId = xmlNode != NULL ? mir_t2a(xi.getText(xmlId)) : NULL;
- xRole = xmlNode != NULL ? mir_t2a(xi.getText(xmlRole)) : NULL;
+ xId = xmlId != NULL ? mir_t2a(xi.getText(xmlId)) : NULL;
+ xRole = xmlRole != NULL ? mir_t2a(xi.getText(xmlRole)) : NULL;
}
xi.destroyNode(xml);
initiator = ParseUrl(xinitiator, "8:");