diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-11 21:06:49 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-11 21:06:49 +0200 |
commit | 200c0cb2bdd04e840701d32cff7e3a893874727f (patch) | |
tree | 6d2aa3a9f96e71cb325381509fd6c1a792ea0c84 /plugins/SimpleStatusMsg/src/main.cpp | |
parent | 3d50f70b2f577ac732ef83cb9094705ec190c489 (diff) |
fixes #1349 (Miranda crashes on coming back from auto away)
Diffstat (limited to 'plugins/SimpleStatusMsg/src/main.cpp')
-rw-r--r-- | plugins/SimpleStatusMsg/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp index 1e01eb7936..92575882db 100644 --- a/plugins/SimpleStatusMsg/src/main.cpp +++ b/plugins/SimpleStatusMsg/src/main.cpp @@ -1727,8 +1727,7 @@ static int OnModulesLoaded(WPARAM, LPARAM) if (db_get_b(NULL, "SimpleStatusMsg", "UpdateMsgOn", 1))
g_uUpdateMsgTimer = SetTimer(nullptr, 0, db_get_w(NULL, "SimpleStatusMsg", "UpdateMsgInt", 10) * 1000, UpdateMsgTimerProc);
- if (ServiceExists(MS_CS_SETSTATUSEX))
- HookEvent(ME_CS_STATUSCHANGEEX, CSStatusChange);
+ HookEvent(ME_CS_STATUSCHANGEEX, CSStatusChange);
if (accounts->statusCount == 0)
return 0;
|