diff options
Diffstat (limited to 'utilities.cpp')
-rw-r--r-- | utilities.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/utilities.cpp b/utilities.cpp index e4563ef..ebe38dc 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -756,19 +756,6 @@ const bool StriStr(const char *str, const char *substr) return i;
}
-void SecureIM_cleanup()
-{
- for (HANDLE hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDFIRST, 0, 0); hContact; hContact = (HANDLE)CallService(MS_DB_CONTACT_FINDNEXT, (WPARAM)hContact, 0)) - { - if(CallService(MS_PROTO_ISPROTOONCONTACT, (WPARAM)hContact, (LPARAM)"SecureIM"))
- CallService(MS_PROTO_REMOVEFROMCONTACT, (WPARAM)hContact, (LPARAM)"SecureIM");
- if(CallService(MS_PROTO_ISPROTOONCONTACT, (WPARAM)hContact, (LPARAM)"OTR"))
- CallService(MS_PROTO_REMOVEFROMCONTACT, (WPARAM)hContact, (LPARAM)"OTR");
- if(CallService(MS_PROTO_ISPROTOONCONTACT, (WPARAM)hContact, (LPARAM)"GnuPGPlugin"))
- CallService(MS_PROTO_REMOVEFROMCONTACT, (WPARAM)hContact, (LPARAM)"GnuPGPlugin");
- }
-}
-
bool IsOnline(HANDLE hContact)
{
if(DBGetContactSettingByte(hContact, szGPGModuleName, "Status", 0) == ID_STATUS_OFFLINE)
|