mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-16 01:01:30 +00:00
Fix for logs crash
This commit is contained in:
parent
8d729d4ea0
commit
90443891d6
@ -232,7 +232,7 @@ void Client::Handle_Login(const char* data, unsigned int size)
|
||||
result = true;
|
||||
}
|
||||
else {
|
||||
Log.OutF(Logs::General, Logs::Error, "Error logging in, user %s does not exist in the database.", user);
|
||||
Log.OutF(Logs::General, Logs::Error, "Error logging in, user {0} does not exist in the database.", user);
|
||||
result = false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ bool DatabaseMySQL::GetLoginDataFromAccountName(std::string name, std::string &p
|
||||
|
||||
if (mysql_query(database, query.str().c_str()) != 0)
|
||||
{
|
||||
Log.Out(Logs::General, Logs::Error, "Mysql query failed: %s", query.str().c_str());
|
||||
Log.OutF(Logs::General, Logs::Error, "Mysql query failed: {0}", query.str());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user