summaryrefslogtreecommitdiff
path: root/protocols/JabberG
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-07-22 12:06:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-07-22 12:06:38 +0300
commitf36629f67153bc500c828cf51de31988122a1024 (patch)
tree629d1f2c844a215774c3667d2b9fa29e96ed1a5c /protocols/JabberG
parent68a22260e569e941ca910547be66017353202735 (diff)
minor code cleaning
Diffstat (limited to 'protocols/JabberG')
-rw-r--r--protocols/JabberG/src/jabber_caps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_caps.cpp b/protocols/JabberG/src/jabber_caps.cpp
index 15b9e41554..4b6fada073 100644
--- a/protocols/JabberG/src/jabber_caps.cpp
+++ b/protocols/JabberG/src/jabber_caps.cpp
@@ -304,7 +304,7 @@ bool CJabberProto::HandleCapsInfoRequest(const TiXmlElement *, CJabberIqInfo *pI
CMStringA szName(getMStringA("Identity", "Miranda")); // hidden setting to be entered from dbeditor++
if (m_bAllowVersionRequests)
- szName.Append(" " __VERSION_STRING_DOTS);
+ szName.AppendFormat(" %s", __VERSION_STRING_DOTS);
query << XCHILD("identity") << XATTR("category", "client") << XATTR("type", "pc") << XATTR("name", szName);
for (auto &it : GetSortedFeatStrings(GetOwnCaps())) {