summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-31 17:50:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-31 17:50:56 +0000
commit9631bfe941ed0cbba6e720b7efd92966e0c6a670 (patch)
tree7b76ef132a0afb2e7185923d368a7fc328358b76 /plugins/AVS/src/main.cpp
parent83a45d3e3f7bccff5b32dc0cb2d0e81340ec6ec2 (diff)
old ugly trash removed from AVS
git-svn-id: http://svn.miranda-ng.org/main/trunk@10005 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/src/main.cpp')
-rw-r--r--plugins/AVS/src/main.cpp3
1 files changed, 1 insertions, 2 deletions
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);