diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-15 16:02:06 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-15 16:02:06 +0300 |
commit | ec60bf5b0f03bfb4c310957e5eec9c17193c6c15 (patch) | |
tree | 8c57ad15e2435fedb24d12dfcb28dccbaf05c970 /protocols/JabberG/src | |
parent | 8b5bf4464597453a75453f1a0bac151372722250 (diff) |
db_get_sm / getStringA / getWStringA / getUStringA/ getMStringA / getMStringW - missing szValue parameter added
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r-- | protocols/JabberG/src/jabber_events.cpp | 2 | ||||
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 2 | ||||
-rwxr-xr-x | protocols/JabberG/src/jabber_thread.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/protocols/JabberG/src/jabber_events.cpp b/protocols/JabberG/src/jabber_events.cpp index e6592e1705..23c2d1e931 100644 --- a/protocols/JabberG/src/jabber_events.cpp +++ b/protocols/JabberG/src/jabber_events.cpp @@ -144,7 +144,7 @@ void __cdecl CJabberProto::OnAddContactForever(MCONTACT hContact) AddContactToRoster(jid, nick, T2Utf(ptrW(Clist_GetGroup(hContact))));
XmlNode xPresence("presence"); xPresence << XATTR("to", jid) << XATTR("type", "subscribe");
- ptrA myNick(getUStringA(0, "Nick"));
+ ptrA myNick(getUStringA("Nick"));
if (myNick != nullptr)
xPresence << XCHILD("nick", myNick) << XATTR("xmlns", JABBER_FEAT_NICK);
m_ThreadInfo->send(xPresence);
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp index a66b530a67..3af128e858 100644 --- a/protocols/JabberG/src/jabber_groupchat.cpp +++ b/protocols/JabberG/src/jabber_groupchat.cpp @@ -130,7 +130,7 @@ struct JabberGcRecentInfo m_nick = ppro->getUStringA(setting);
mir_snprintf(setting, "password_rcMuc_%d", iRecent);
- m_password = ppro->getUStringA(0, setting);
+ m_password = ppro->getUStringA(setting);
return m_room || m_server || m_nick || m_password;
}
diff --git a/protocols/JabberG/src/jabber_thread.cpp b/protocols/JabberG/src/jabber_thread.cpp index 36c2018ea3..abc46ca6a2 100755 --- a/protocols/JabberG/src/jabber_thread.cpp +++ b/protocols/JabberG/src/jabber_thread.cpp @@ -314,7 +314,7 @@ LBL_FatalError: }
}
else {
- ptrA tszPassw(getUStringA(0, "Password"));
+ ptrA tszPassw(getUStringA("Password"));
if (tszPassw == nullptr) {
JLoginFailed(LOGINERR_BADUSERID);
debugLogA("Thread ended, password is not configured");
|