summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_proto.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-07-31 10:01:20 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-07-31 10:01:20 +0000
commit9265ee8085d9733199d0d2407ecd9b4666372b55 (patch)
tree99624d2aba3752c7faac30647589fdabd065e3b2 /protocols/SkypeWeb/src/skype_proto.h
parenteb3c0d1be3114815f27c33947fd3591858661000 (diff)
compilation fix for debug mode
git-svn-id: http://svn.miranda-ng.org/main/trunk@14763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_proto.h')
-rw-r--r--protocols/SkypeWeb/src/skype_proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_proto.h b/protocols/SkypeWeb/src/skype_proto.h
index 6c97908cbb..6c3bcaa669 100644
--- a/protocols/SkypeWeb/src/skype_proto.h
+++ b/protocols/SkypeWeb/src/skype_proto.h
@@ -305,7 +305,10 @@ private:
void ProcessThreadUpdateRes(const JSONNode &node);
// utils
- inline bool IsOnline();
+ __forceinline bool IsOnline()
+ { return (m_iStatus > ID_STATUS_OFFLINE && m_hPollingThread);
+ }
+
bool IsMe(const char *skypeName);
MEVENT AddEventToDb(MCONTACT hContact, WORD type, DWORD timestamp, DWORD flags, DWORD cbBlob, PBYTE pBlob);