summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_api.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-22 13:51:44 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-22 13:51:44 +0300
commite3ddcf47bdff0e1bc169e32aa64353852cb88665 (patch)
tree1b34a8b7a0b6efd683bb7bd7bca307ff7cfba91d /protocols/JabberG/src/jabber_api.cpp
parentb9eefe3259b21cb1319f4d90bc0a6c89e2f9682f (diff)
Jabber: no need to duplicate empty strings
Diffstat (limited to 'protocols/JabberG/src/jabber_api.cpp')
-rw-r--r--protocols/JabberG/src/jabber_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_api.cpp b/protocols/JabberG/src/jabber_api.cpp
index cfbbb24083..2263b398b6 100644
--- a/protocols/JabberG/src/jabber_api.cpp
+++ b/protocols/JabberG/src/jabber_api.cpp
@@ -230,7 +230,7 @@ int CJabberProto::RegisterFeature(const char *pszFeature, const char *pszDescrip
if (!jcb)
return false;
- g_clientCapsManager.SetClientCaps(JABBER_CAPS_MIRANDA_NODE, m_szFeaturesCrc, "", jcb);
+ g_clientCapsManager.SetClientCaps(JABBER_CAPS_MIRANDA_NODE, m_szFeaturesCrc, nullptr, jcb);
fcp = new JabberFeatCapPairDynamic();
fcp->szExt = mir_strdup(pszExt);