mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 04:22:26 +00:00
Remove Duplicative MySQL Error: Error in Log IP query '
This commit is contained in:
parent
38723fc4bf
commit
f0197219ab
@ -203,7 +203,6 @@ 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);
|
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);
|
auto results = QueryDatabase(query);
|
||||||
if (!results.Success())
|
if (!results.Success())
|
||||||
std::cerr << "Error in Log IP query '" << query << "' " << results.ErrorMessage() << std::endl;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int16 Database::CheckStatus(uint32 account_id) {
|
int16 Database::CheckStatus(uint32 account_id) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user