From 1e6a67e1adecba80dcc101e1c4cb892356554b9e Mon Sep 17 00:00:00 2001 From: Akkadius Date: Sun, 8 Sep 2019 03:23:47 -0500 Subject: [PATCH] Change vars to be more consistent [skip ci] --- loginserver/account_management.cpp | 8 ++++---- loginserver/account_management.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/loginserver/account_management.cpp b/loginserver/account_management.cpp index 9fe7c0785..6eeec030d 100644 --- a/loginserver/account_management.cpp +++ b/loginserver/account_management.cpp @@ -32,7 +32,7 @@ EQ::Event::TaskScheduler task_runner; * @param password * @param email * @param source_loginserver - * @param ls_account_id + * @param login_account_id * @return */ int32 AccountManagement::CreateLoginServerAccount( @@ -40,7 +40,7 @@ int32 AccountManagement::CreateLoginServerAccount( std::string password, std::string email, const std::string &source_loginserver, - uint32 ls_account_id + uint32 login_account_id ) { auto mode = server.options.GetEncryptionMode(); @@ -65,8 +65,8 @@ int32 AccountManagement::CreateLoginServerAccount( } uint32 created_account_id = 0; - if (ls_account_id > 0) { - created_account_id = server.db->CreateLoginDataWithID(username, hash, source_loginserver, ls_account_id); + if (login_account_id > 0) { + created_account_id = server.db->CreateLoginDataWithID(username, hash, source_loginserver, login_account_id); } else { created_account_id = server.db->CreateLoginAccount(username, hash, source_loginserver, email); } diff --git a/loginserver/account_management.h b/loginserver/account_management.h index 7f81c9aa6..d88cdfdab 100644 --- a/loginserver/account_management.h +++ b/loginserver/account_management.h @@ -31,7 +31,7 @@ public: * @param password * @param email * @param source_loginserver - * @param ls_account_id + * @param login_account_id * @return */ static int32 CreateLoginServerAccount( @@ -39,7 +39,7 @@ public: std::string password, std::string email = "", const std::string &source_loginserver = "local", - uint32 ls_account_id = 0 + uint32 login_account_id = 0 ); /**