diff options
Diffstat (limited to 'plugins/NewAwaySysMod/src/Properties.cpp')
-rw-r--r-- | plugins/NewAwaySysMod/src/Properties.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/NewAwaySysMod/src/Properties.cpp b/plugins/NewAwaySysMod/src/Properties.cpp index 2d85ad477c..b746c6d6fc 100644 --- a/plugins/NewAwaySysMod/src/Properties.cpp +++ b/plugins/NewAwaySysMod/src/Properties.cpp @@ -24,9 +24,9 @@ CProtoStates g_ProtoStates; void ResetContactSettingsOnStatusChange(MCONTACT hContact)
{
- db_unset(hContact, MODULENAME, DB_REQUESTCOUNT);
- db_unset(hContact, MODULENAME, DB_SENDCOUNT);
- db_unset(hContact, MODULENAME, DB_MESSAGECOUNT);
+ g_plugin.delSetting(hContact, DB_REQUESTCOUNT);
+ g_plugin.delSetting(hContact, DB_SENDCOUNT);
+ g_plugin.delSetting(hContact, DB_MESSAGECOUNT);
}
void ResetSettingsOnStatusChange(const char *szProto = nullptr, int bResetPersonalMsgs = false, int Status = 0)
|