diff options
-rw-r--r-- | MySpace/server_con.cpp | 2 | ||||
-rw-r--r-- | MySpace/version.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp index aefb24c..07d3684 100644 --- a/MySpace/server_con.cpp +++ b/MySpace/server_con.cpp @@ -285,6 +285,8 @@ void try_login(NetMessage &msg, HANDLE connection) { int ParseStatusMessage(HANDLE hContact, PipedStringList &l) {
int stat = stat_myspace_to_mir(l.get_int(1));
if(stat == ID_STATUS_IDLE) {
+ if(DBWriteContactSettingWord(hContact, MODULE, "Status", ID_STATUS_OFFLINE) == ID_STATUS_OFFLINE)
+ DBWriteContactSettingWord(hContact, MODULE, "Status", ID_STATUS_ONLINE);
DBWriteContactSettingDword(hContact, MODULE, "IdleTS", (DWORD)time(0));
} else {
DBWriteContactSettingWord(hContact, MODULE, "Status", stat);
diff --git a/MySpace/version.h b/MySpace/version.h index 5eb178c..b5cedcf 100644 --- a/MySpace/version.h +++ b/MySpace/version.h @@ -5,7 +5,7 @@ #define __MAJOR_VERSION 0
#define __MINOR_VERSION 0
#define __RELEASE_NUM 5
-#define __BUILD_NUM 8
+#define __BUILD_NUM 9
#define __FILEVERSION_STRING __MAJOR_VERSION,__MINOR_VERSION,__RELEASE_NUM,__BUILD_NUM
#define __FILEVERSION_STRING_DOTS __MAJOR_VERSION.__MINOR_VERSION.__RELEASE_NUM.__BUILD_NUM
|