summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory')
-rw-r--r--plugins/AvatarHistory/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/utils.cpp b/plugins/AvatarHistory/src/utils.cpp
index 71214413a2..f390b3463f 100644
--- a/plugins/AvatarHistory/src/utils.cpp
+++ b/plugins/AvatarHistory/src/utils.cpp
@@ -26,7 +26,7 @@ Avatar History Plugin
bool ProtocolEnabled(const char *proto)
{
- return Proto_IsAccountEnabled(Proto_GetAccount(proto));
+ return Proto_GetAccount(proto)->IsEnabled();
}
bool ContactEnabled(MCONTACT hContact, char *setting, int def)