diff options
author | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-01-20 16:25:13 +0100 |
---|---|---|
committer | Goraf <22941576+Goraf@users.noreply.github.com> | 2018-01-20 16:37:39 +0100 |
commit | 087173d06f4848f19d186b6902d399ce9b7225e1 (patch) | |
tree | 0cb2330486f445a2fa56c6da3a2d7ee983df6f52 /protocols/Gadu-Gadu/src/dialogs.cpp | |
parent | de12828fb9051fba1db1e4573cff56ee83ab6b1f (diff) |
Gadu-Gadu: code cleaning
Diffstat (limited to 'protocols/Gadu-Gadu/src/dialogs.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/dialogs.cpp b/protocols/Gadu-Gadu/src/dialogs.cpp index 123f32b53e..96c272940f 100644 --- a/protocols/Gadu-Gadu/src/dialogs.cpp +++ b/protocols/Gadu-Gadu/src/dialogs.cpp @@ -166,7 +166,6 @@ void GGPROTO::checknewuser(uin_t uin, const char* passwd) { char oldpasswd[128]; DBVARIANT dbv; - uin_t olduin = (uin_t)getDword(GG_KEY_UIN, 0); oldpasswd[0] = '\0'; if (!getString(GG_KEY_PASSWORD, &dbv)) @@ -176,6 +175,7 @@ void GGPROTO::checknewuser(uin_t uin, const char* passwd) db_free(&dbv); } + uin_t olduin = (uin_t)getDword(GG_KEY_UIN, 0); if (uin > 0 && mir_strlen(passwd) > 0 && (uin != olduin || mir_strcmp(oldpasswd, passwd))) check_first_conn = 1; } |