summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-09 22:02:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-09 22:02:18 +0000
commitd5d50b471277d5d69f59a8f29bf87201149ce191 (patch)
tree92d10ad5b0a1116ba08eca98cf025cb07578784e /protocols/AimOscar/src/server.cpp
parent9dd56da9d9ccbce2f1e1539acb5cfcad7650916a (diff)
applied protocol helpers
git-svn-id: http://svn.miranda-ng.org/main/trunk@5305 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/server.cpp')
-rw-r--r--protocols/AimOscar/src/server.cpp12
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)
{