summaryrefslogtreecommitdiff
path: root/src/modules/useronline/useronline.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:18:00 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-24 16:18:00 +0000
commitcff526fc610fe0166b59c25bcb7730b92b481480 (patch)
treee6a4d06f31ac5134d67fee3405f37ebab1a5054d /src/modules/useronline/useronline.cpp
parent2e9daaee6cdf51423daa89b1dbae37e1424d549f (diff)
fix for the Sounds options
git-svn-id: http://svn.miranda-ng.org/main/trunk@604 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/useronline/useronline.cpp')
-rw-r--r--src/modules/useronline/useronline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/useronline/useronline.cpp b/src/modules/useronline/useronline.cpp
index d89dddb2ac..3097db834a 100644
--- a/src/modules/useronline/useronline.cpp
+++ b/src/modules/useronline/useronline.cpp
@@ -35,7 +35,7 @@ static int UserOnlineSettingChanged(WPARAM wParam, LPARAM lParam)
DBWriteContactSettingWord((HANDLE)wParam, "UserOnline", "OldStatus", (WORD)newStatus);
if (CallService(MS_IGNORE_ISIGNORED, wParam, IGNOREEVENT_USERONLINE)) return 0;
if (DBGetContactSettingByte((HANDLE)wParam, "CList", "Hidden", 0)) return 0;
- if (newStatus == ID_STATUS_OFFLINE&&oldStatus != ID_STATUS_OFFLINE) {
+ if (newStatus == ID_STATUS_OFFLINE && oldStatus != ID_STATUS_OFFLINE) {
// Remove the event from the queue if it exists since they are now offline
int lastEvent = (int)DBGetContactSettingDword((HANDLE)wParam, "UserOnline", "LastEvent", 0);