summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/main.cpp
diff options
context:
space:
mode:
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);