summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_contacts.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-27 22:34:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-27 22:34:53 +0000
commit82034484f38eb6a9906c75a9314461c11f17b157 (patch)
tree4680af3da03b11b5f68f3f79025ef6b95449fd49 /plugins/HistoryPlusPlus/hpp_contacts.pas
parentd113a646feb2e98ab6314565dc77fd476786a376 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@8321 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_contacts.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_contacts.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_contacts.pas b/plugins/HistoryPlusPlus/hpp_contacts.pas
index a9a4cd5e93..d0beee248b 100644
--- a/plugins/HistoryPlusPlus/hpp_contacts.pas
+++ b/plugins/HistoryPlusPlus/hpp_contacts.pas
@@ -73,7 +73,7 @@ end;
function GetContactProto(hContact: THandle; var SubContact: THandle; var SubProtocol: AnsiString): AnsiString;
begin
Result := PAnsiChar(CallService(MS_PROTO_GETCONTACTBASEPROTO, hContact, 0));
- if MetaContactsEnabled and (Result = MetaContactsProto) then
+ if (Result = META_PROTO) then
begin
SubContact := CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
SubProtocol := PAnsiChar(CallService(MS_PROTO_GETCONTACTBASEPROTO, SubContact, 0));