summaryrefslogtreecommitdiff
path: root/protocols/Gadu-Gadu/userutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Gadu-Gadu/userutils.cpp')
-rw-r--r--protocols/Gadu-Gadu/userutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/userutils.cpp b/protocols/Gadu-Gadu/userutils.cpp
index c8476f821d..5982d93aa7 100644
--- a/protocols/Gadu-Gadu/userutils.cpp
+++ b/protocols/Gadu-Gadu/userutils.cpp
@@ -54,7 +54,7 @@ void *gg_doregister(GGPROTO *gg, char *newPass, char *newEmail)
}
else
{
- db_set_w(NULL, gg->m_szModuleName, GG_KEY_UIN, s->uin);
+ db_set_dw(NULL, gg->m_szModuleName, GG_KEY_UIN, s->uin);
CallService(MS_DB_CRYPT_ENCODESTRING, strlen(newPass) + 1, (LPARAM) newPass);
gg->checknewuser(s->uin, newPass);
db_set_s(NULL, gg->m_szModuleName, GG_KEY_PASSWORD, newPass);