summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_events.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-27 19:06:38 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-27 19:06:38 +0000
commita6f7dad63439692e33d74030959aef1a27c7a335 (patch)
treeb381c3e63fc1081da6b594e917f7b453ae14d4bc /protocols/JabberG/src/jabber_events.cpp
parent62e59387c15f062f16984cab024a0980a8503369 (diff)
crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@6253 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_events.cpp')
-rw-r--r--protocols/JabberG/src/jabber_events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp
index fb54c36990..0a2f056478 100644
--- a/protocols/JabberG/src/jabber_events.cpp
+++ b/protocols/JabberG/src/jabber_events.cpp
@@ -165,7 +165,7 @@ void __cdecl CJabberProto::OnAddContactForever(DBCONTACTWRITESETTING *cws, HANDL
HXML xPresence = XmlNode(_T("presence")) << XATTR(_T("to"), jid) << XATTR(_T("type"), _T("subscribe"));
ptrT myNick( getTStringA(NULL, "Nick"));
if (myNick != NULL)
- xPresence << XCHILD(_T("nick"), nick) << XATTR(_T("xmlns"), JABBER_FEAT_NICK);
+ xPresence << XCHILD(_T("nick"), myNick) << XATTR(_T("xmlns"), JABBER_FEAT_NICK);
m_ThreadInfo->send(xPresence);
SendGetVcard(jid);