diff options
Diffstat (limited to 'protocols/JabberG/src/jabber_std.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_std.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_std.cpp b/protocols/JabberG/src/jabber_std.cpp index 284730a048..ecda372e98 100644 --- a/protocols/JabberG/src/jabber_std.cpp +++ b/protocols/JabberG/src/jabber_std.cpp @@ -78,7 +78,8 @@ void CJabberProto::ConvertPasswords() break;
mir_snprintf(varName, SIZEOF(varName), "rcMuc_%d", i);
- if ((passw = JSetStringCrypt(m_szModuleName, NULL, varName)) != NULL) {
+ ptrT passw(JSetStringCrypt(m_szModuleName, NULL, varName));
+ if (passw != NULL) {
delSetting(varName);
mir_snprintf(varName, SIZEOF(varName), "password_rcMuc_%d", i);
|