summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index 1585ace33a..b8483e7b46 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -168,7 +168,7 @@ void CSkypeProto::OnPrivateMessageEvent(const JSONNode &node)
bool bEdited = node["skypeeditedid"];
time_t timestamp = IsoToUnixTime(node["composetime"].as_string().c_str());
- int nEmoteOffset = node["skypeemoteoffset"].as_int();
+ int nEmoteOffset = atoi(node["skypeemoteoffset"].as_string().c_str());
MCONTACT hContact = AddContact(szConversationName, true);