summaryrefslogtreecommitdiff
path: root/plugins/Utils.pas/mircontacts.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Utils.pas/mircontacts.pas')
-rw-r--r--plugins/Utils.pas/mircontacts.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Utils.pas/mircontacts.pas b/plugins/Utils.pas/mircontacts.pas
index 1c3b614324..3bcd96be33 100644
--- a/plugins/Utils.pas/mircontacts.pas
+++ b/plugins/Utils.pas/mircontacts.pas
@@ -72,7 +72,7 @@ begin
Result := Proto_GetProtoName(hContact);
if StrCmp(Result, META_PROTO)=0 then
begin
- SubContact := CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
+ SubContact := db_mc_getMostOnline(hContact);
SubProtocol := Proto_GetProtoName(SubContact);
end
else