summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_groupchat.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-28 12:01:09 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-28 12:01:09 +0000
commit2e2d9de08e3eb747f88cd3a9aeb750a3c34078a7 (patch)
tree7b0774375566185dc27d708b2d7aadd8f9a81eca /protocols/JabberG/src/jabber_groupchat.cpp
parentae3cee537d478fba0f32e561a12d62213a85a4d5 (diff)
code adaptation for getTStringA
git-svn-id: http://svn.miranda-ng.org/main/trunk@5508 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp
index a0655c0d27..9a7efeed41 100644
--- a/protocols/JabberG/src/jabber_groupchat.cpp
+++ b/protocols/JabberG/src/jabber_groupchat.cpp
@@ -867,7 +867,7 @@ void CJabberProto::RenameParticipantNick(JABBER_LIST_ITEM *item, const TCHAR *ol
JABBER_RESOURCE_STATUS *r = item->findResource(oldNick);
if (r == NULL)
return;
-
+
replaceStrT(r->resourceName, newNick);
if ( !lstrcmp(item->nick, oldNick)) {
@@ -1100,7 +1100,7 @@ void CJabberProto::GroupchatProcessPresence(HXML node)
ptrT str( JabberErrorMsg(errorNode, &errorCode));
if (errorCode == JABBER_ERROR_CONFLICT) {
- ptrT newNick( db_get_tsa(NULL, m_szModuleName, "GcAltNick"));
+ ptrT newNick( getTStringA("GcAltNick"));
if (++item->iChatState == 1 && newNick != NULL && newNick[0] != 0) {
replaceStrT(item->nick, newNick);
TCHAR text[1024] = { 0 };