diff options
Diffstat (limited to 'protocols/AimOscar/src/server.cpp')
-rw-r--r-- | protocols/AimOscar/src/server.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp index 7c42ff979b..9726d9468e 100644 --- a/protocols/AimOscar/src/server.cpp +++ b/protocols/AimOscar/src/server.cpp @@ -265,28 +265,18 @@ void CAimProto::snac_user_online(SNAC &snac)//family 0x0003 if (icq)
setString(hContact, "Transport", "ICQ");
else
- deleteSetting(hContact, "Transport" );
+ db_unset(hContact, m_szModuleName, "Transport" );
if (admin_aol)
- {
setByte(hContact, AIM_KEY_AC, ACCOUNT_TYPE_ADMIN);
- }
else if (aol)
- {
setByte(hContact, AIM_KEY_AC, ACCOUNT_TYPE_AOL);
- }
else if (icq)
- {
setByte(hContact, AIM_KEY_AC, ACCOUNT_TYPE_ICQ);
- }
else if (unconfirmed)
- {
setByte(hContact, AIM_KEY_AC, ACCOUNT_TYPE_UNCONFIRMED);
- }
else
- {
setByte(hContact, AIM_KEY_AC, ACCOUNT_TYPE_CONFIRMED);
- }
if (bot)
{
|