diff --git a/modules/awaystore.cpp b/modules/awaystore.cpp index 8a429d4b..272922d6 100644 --- a/modules/awaystore.cpp +++ b/modules/awaystore.cpp @@ -413,6 +413,7 @@ public: return(CONTINUE); } + virtual EModRet OnUserMsg(CString& sTarget, CString& sMessage) { Ping(); @@ -422,6 +423,15 @@ public: return(CONTINUE); } + virtual EModRet OnUserAction(CString& sTarget, CString& sMessage) + { + Ping(); + if (m_bIsAway) + Back(); + + return(CONTINUE); + } + time_t GetTimeStamp() const { return(m_iLastSentData); } void Ping() { m_iLastSentData = time(NULL); } time_t GetAwayTime() { return m_iAutoAway; }