summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src')
-rw-r--r--plugins/SecureIM/src/crypt_check.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecureIM/src/crypt_check.cpp b/plugins/SecureIM/src/crypt_check.cpp
index 82dbb7ad1c..d85f9e0e2b 100644
--- a/plugins/SecureIM/src/crypt_check.cpp
+++ b/plugins/SecureIM/src/crypt_check.cpp
@@ -105,7 +105,7 @@ bool isContactInvisible(MCONTACT hContact)
switch (db_get_w(hContact, p->proto->name, "ApparentMode", 0)) {
case 0:
- return CallProtoService(p->proto->name, PS_GETSTATUS, 0, 0) == ID_STATUS_INVISIBLE;
+ return Proto_GetStatus(p->proto->name) == ID_STATUS_INVISIBLE;
case ID_STATUS_ONLINE:
return false;
case ID_STATUS_OFFLINE: