summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/xstatus.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2013-03-04 18:30:02 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2013-03-04 18:30:02 +0000
commit907045128b7dae896d45a40319eb86007df3e36b (patch)
tree9a4607f3cfcc2e18c7e1dc26e2cb4951b7be289b /plugins/NewXstatusNotify/src/xstatus.cpp
parent875f740e2a9efe878337e27849aa3b1fdddcc503 (diff)
fix for the broken timer (patch by zaltys) (fixes #250)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3885 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/src/xstatus.cpp')
-rw-r--r--plugins/NewXstatusNotify/src/xstatus.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/NewXstatusNotify/src/xstatus.cpp b/plugins/NewXstatusNotify/src/xstatus.cpp
index 8052a5526b..3fc36c9f64 100644
--- a/plugins/NewXstatusNotify/src/xstatus.cpp
+++ b/plugins/NewXstatusNotify/src/xstatus.cpp
@@ -331,7 +331,7 @@ void ExtraStatusChanged(XSTATUSCHANGE *xsc)
if (opt.PDisableForMusic && xsc->type == TYPE_ICQ_XSTATUS && xstatusID == XSTATUS_MUSIC)
bEnableSound = bEnablePopup = false;
- if (bEnablePopup && db_get_b(xsc->hContact, MODULE, "EnableXStatusNotify", 1) && TimeoutCheck())
+ if (bEnablePopup && db_get_b(xsc->hContact, MODULE, "EnableXStatusNotify", 1) && db_get_b(0, MODULE, xsc->szProto, 1))
ShowPopup(xsc);
if (bEnableSound && db_get_b(xsc->hContact, MODULE, "EnableXStatusNotify", 1))