mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-13 15:02:25 +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) {
|
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);
|
QueryDatabase(query);
|
||||||
if (!results.Success())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int16 Database::CheckStatus(uint32 account_id) {
|
int16 Database::CheckStatus(uint32 account_id) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user