diff options
Diffstat (limited to 'protocols/Tlen/src/jabber_thread.cpp')
| -rw-r--r-- | protocols/Tlen/src/jabber_thread.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tlen/src/jabber_thread.cpp b/protocols/Tlen/src/jabber_thread.cpp index b9fe951ee1..1250c2aa13 100644 --- a/protocols/Tlen/src/jabber_thread.cpp +++ b/protocols/Tlen/src/jabber_thread.cpp @@ -369,7 +369,7 @@ void __cdecl JabberServerThread(ThreadData *info)  			// Set all contacts to offline
  			hContact = db_find_first();
  			while (hContact != NULL) {
 -				str = (char *) CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM) hContact, 0);
 +				str = GetContactProto(hContact);
  				if (str != NULL && !strcmp(str, info->proto->m_szModuleName)) {
  					if (DBGetContactSettingWord(hContact, info->proto->m_szModuleName, "Status", ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE) {
  						DBWriteContactSettingWord(hContact, info->proto->m_szModuleName, "Status", ID_STATUS_OFFLINE);
  | 
