diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_groupchat.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 4 |
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 };
|