summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_xml.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/JabberG/src/jabber_xml.h')
-rw-r--r--protocols/JabberG/src/jabber_xml.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_xml.h b/protocols/JabberG/src/jabber_xml.h
index 69bff6c7e1..84be255ba5 100644
--- a/protocols/JabberG/src/jabber_xml.h
+++ b/protocols/JabberG/src/jabber_xml.h
@@ -85,7 +85,7 @@ struct XATTR
__forceinline TiXmlElement *operator<<(TiXmlElement *node, const XATTR& attr)
{
- node->SetAttribute(attr.name, attr.value);
+ XmlAddAttr(node, attr.name, attr.value);
return node;
}