summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/icq_servlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/icq_servlist.cpp')
-rw-r--r--protocols/IcqOscarJ/icq_servlist.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/protocols/IcqOscarJ/icq_servlist.cpp b/protocols/IcqOscarJ/icq_servlist.cpp
index 9da5e3e756..5be3c895d8 100644
--- a/protocols/IcqOscarJ/icq_servlist.cpp
+++ b/protocols/IcqOscarJ/icq_servlist.cpp
@@ -2667,15 +2667,6 @@ int CIcqProto::ServListDbSettingChanged(WPARAM wParam, LPARAM lParam)
{
DBCONTACTWRITESETTING* cws = (DBCONTACTWRITESETTING*)lParam;
- // We can't upload changes to NULL contact
- if ((HANDLE)wParam == NULL)
- { // only note last change of CListGroups - contact/group operation detection
- if (!strcmpnull(cws->szModule, "CListGroups"))
- dwLastCListGroupsChange = time(NULL);
-
- return 0;
- }
-
// TODO: Queue changes that occur while offline
if (!icqOnline() || !m_bSsiEnabled || bIsSyncingCL)
return 0;
@@ -2689,15 +2680,6 @@ int CIcqProto::ServListDbSettingChanged(WPARAM wParam, LPARAM lParam)
if (!strcmpnull(cws->szModule, "CList"))
{
- // Has a temporary contact just been added permanently?
- if (!strcmpnull(cws->szSetting, "NotOnList") &&
- (cws->value.type == DBVT_DELETED || (cws->value.type == DBVT_BYTE && cws->value.bVal == 0)))
- { // Add to server-list
- setContactHidden((HANDLE)wParam, 0);
- if (getSettingByte(NULL, "ServerAddRemove", DEFAULT_SS_ADDSERVER))
- AddServerContact(wParam, 0);
- }
-
// Has contact been renamed?
if (!strcmpnull(cws->szSetting, "MyHandle") &&
getSettingByte(NULL, "StoreServerDetails", DEFAULT_SS_STORE))
@@ -2711,10 +2693,6 @@ int CIcqProto::ServListDbSettingChanged(WPARAM wParam, LPARAM lParam)
{ // Read group from DB
char* szNewGroup = getContactCListGroup((HANDLE)wParam);
- // it is contact operation only ? no, if CListGroups was changed less than 10 secs ago
- if (szNewGroup && (dwLastCListGroupsChange + 10 < time(NULL)))
- servlistMoveContact((HANDLE)wParam, szNewGroup);
-
SAFE_FREE(&szNewGroup);
}
}