mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 22:21:30 +00:00
Fix LoginIP from erorr message removal
This commit is contained in:
parent
48caf1e413
commit
5fa42ce90f
@ -201,8 +201,7 @@ bool Database::AddGMIP(char* ip_address, char* name) {
|
||||
|
||||
void Database::LoginIP(uint32 AccountID, const char* LoginIP) {
|
||||
std::string query = StringFormat("INSERT INTO account_ip SET accid=%i, ip='%s' ON DUPLICATE KEY UPDATE count=count+1, lastused=now()", AccountID, LoginIP);
|
||||
auto results = QueryDatabase(query);
|
||||
if (!results.Success())
|
||||
QueryDatabase(query);
|
||||
}
|
||||
|
||||
int16 Database::CheckStatus(uint32 account_id) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user