From 9631bfe941ed0cbba6e720b7efd92966e0c6a670 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 31 Jul 2014 17:50:56 +0000 Subject: old ugly trash removed from AVS git-svn-id: http://svn.miranda-ng.org/main/trunk@10005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/AVS/src/main.cpp') diff --git a/plugins/AVS/src/main.cpp b/plugins/AVS/src/main.cpp index d921c7fb30..42ebac3b36 100644 --- a/plugins/AVS/src/main.cpp +++ b/plugins/AVS/src/main.cpp @@ -138,7 +138,7 @@ static int MetaChanged(WPARAM hMeta, LPARAM hSubContact) ace = (AVATARCACHEENTRY*)GetProtoDefaultAvatar(hSubContact); QueueAdd(hSubContact); } - else ace = &node->ace; + else ace = node; NotifyEventHooks(hEventChanged, hMeta, (LPARAM)ace); return 0; @@ -411,7 +411,6 @@ static int LoadAvatarModule() hMyAvatarChanged = CreateHookableEvent(ME_AV_MYAVATARCHANGED); InitServices(); - InitCache(); InitPolls(); _tcsncpy_s(g_szDataPath, SIZEOF(g_szDataPath), VARST(_T("%miranda_userdata%\\")), _TRUNCATE); -- cgit v1.2.3