summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r--protocols/Twitter/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp
index 913bcd70e2..b23c3a3d5a 100644
--- a/protocols/Twitter/src/connection.cpp
+++ b/protocols/Twitter/src/connection.cpp
@@ -417,7 +417,7 @@ void TwitterProto::UpdateAvatarWorker(void *p)
debugLogA("***** Updating avatar: %s", data->url.c_str());
mir_cslock lck(avatar_lock_);
- if (CallService(MS_SYSTEM_TERMINATED, 0, 0)) // if miranda is shutting down...
+ if (Miranda_IsTerminated()) // if miranda is shutting down...
{
debugLogA("***** Terminating avatar update early: %s", data->url.c_str());
return;