From 3bcc4ebb3e1a43574fb934a80903feaa56642089 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 10 Jul 2013 13:54:28 +0000 Subject: obsolete helper removed git-svn-id: http://svn.miranda-ng.org/main/trunk@5306 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_iqid.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'protocols/JabberG/src/jabber_iqid.cpp') diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp index 120109c9ad..a099108366 100644 --- a/protocols/JabberG/src/jabber_iqid.cpp +++ b/protocols/JabberG/src/jabber_iqid.cpp @@ -209,13 +209,11 @@ void CJabberProto::OnLoggedIn() QueryPrivacyLists(m_ThreadInfo); - char szServerName[ sizeof(m_ThreadInfo->server) ]; - if (JGetStaticString("LastLoggedServer", NULL, szServerName, sizeof(szServerName))) + ptrA szServerName( getStringA("LastLoggedServer")); + if (szServerName == NULL || strcmp(m_ThreadInfo->server, szServerName)) SendGetVcard(m_szJabberJID); - else if (strcmp(m_ThreadInfo->server, szServerName)) - SendGetVcard(m_szJabberJID); - setString("LastLoggedServer", m_ThreadInfo->server); + setString("LastLoggedServer", m_ThreadInfo->server); m_pepServices.ResetPublishAll(); } -- cgit v1.2.3