summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/FacebookRM/src/proto.h')
-rw-r--r--protocols/FacebookRM/src/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.h b/protocols/FacebookRM/src/proto.h
index 6cef8a3e8a..56a834df6d 100644
--- a/protocols/FacebookRM/src/proto.h
+++ b/protocols/FacebookRM/src/proto.h
@@ -76,9 +76,9 @@ public:
inline int IdleSeconds()
{
if ((m_iStatus == ID_STATUS_AWAY || m_iStatus == ID_STATUS_INVISIBLE) && m_awayTS)
- return time(nullptr) - m_awayTS;
+ return time(0) - m_awayTS;
- return m_idleTS ? time(nullptr) - m_idleTS : 0;
+ return m_idleTS ? time(0) - m_idleTS : 0;
}
bool m_invisible;