From a819f36c8ffaf31af6908cc1f0480a66f71f2a4b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 30 Apr 2021 16:37:15 +0300 Subject: =?UTF-8?q?=D0=BD=D0=B5=20=D0=BD=D0=B0=D0=B4=D0=BE=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D0=BA=D0=B0=D0=B6=D0=B4=D1=8B=D0=B9=20=D1=81=D0=BE=D0=B7?= =?UTF-8?q?=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D0=B9=20=D0=BA=D0=BE=D0=BD=D1=82?= =?UTF-8?q?=D0=B0=D0=BA=D1=82=20=D0=B3=D0=BE=D0=B2=D0=BE=D1=80=D0=B8=D1=82?= =?UTF-8?q?=D1=8C,=20=D1=87=D1=82=D0=BE=20=D0=BE=D0=BD=20=D0=BF=D1=80?= =?UTF-8?q?=D0=B8=D0=BD=D0=B0=D0=B4=D0=BB=D0=B5=D0=B6=D0=B8=D1=82=20Watrac?= =?UTF-8?q?k?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/Watrack/proto/proto.pas | 8 -------- 1 file changed, 8 deletions(-) (limited to 'plugins') diff --git a/plugins/Watrack/proto/proto.pas b/plugins/Watrack/proto/proto.pas index 648d1e7e26..1653e33831 100644 --- a/plugins/Watrack/proto/proto.pas +++ b/plugins/Watrack/proto/proto.pas @@ -301,13 +301,6 @@ begin end; end; -function HookAddUser(hContact:WPARAM;lParam:LPARAM):int; cdecl; -begin - result:=0; - if not IsChat(hContact) then - Proto_AddToContact(hContact,PluginShort); -end; - function OnContactMenu(hContact:WPARAM;lParam:LPARAM):int;cdecl; begin if IsMirandaUser(hContact)<=0 then @@ -376,7 +369,6 @@ begin RegisterContacts; hGCI:=CreateServiceFunction(MS_WAT_GETCONTACTINFO,@SendRequest); HookEvent(ME_CLIST_PREBUILDCONTACTMENU,@OnContactMenu); - HookEvent(ME_DB_CONTACT_ADDED ,@HookAddUser); end; procedure DeInitProc(aSetDisable:boolean); -- cgit v1.2.3