summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_sql.c2
-rw-r--r--src/login/login.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/login/account_sql.c b/src/login/account_sql.c
index be1b36ebe..bc607c59e 100644
--- a/src/login/account_sql.c
+++ b/src/login/account_sql.c
@@ -159,7 +159,7 @@ static bool account_db_sql_init(AccountDB* self)
Sql_ShowDebug(sql_handle);
return true;
-}
+}
/// disconnects from database
static void account_db_sql_destroy(AccountDB* self)
diff --git a/src/login/login.c b/src/login/login.c
index e2c16eaed..78a9b9420 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -265,7 +265,7 @@ bool check_encrypted(const char* str1, const char* str2, const char* passwd)
}
bool check_password(const char* md5key, int passwdenc, const char* passwd, const char* refpass)
-{
+{
if(passwdenc == 0)
{
return (0==strcmp(passwd, refpass));