mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-20 17:31:30 +00:00
Remove Duplicative MySQL Error: Error updating LFP for character %i : %s
This commit is contained in:
parent
c5dbbd1f07
commit
5ec3d58e32
@ -3103,9 +3103,7 @@ bool Database::GetLiveChar(uint32 account_id, char* cname) {
|
|||||||
|
|
||||||
void Database::SetLFP(uint32 CharID, bool LFP) {
|
void Database::SetLFP(uint32 CharID, bool LFP) {
|
||||||
std::string query = StringFormat("UPDATE `character_data` SET `lfp` = %i WHERE `id` = %i",LFP, CharID);
|
std::string query = StringFormat("UPDATE `character_data` SET `lfp` = %i WHERE `id` = %i",LFP, CharID);
|
||||||
auto results = QueryDatabase(query);
|
QueryDatabase(query);
|
||||||
if (!results.Success())
|
|
||||||
Log.Out(Logs::General, Logs::Error, "Error updating LFP for character %i : %s", CharID, results.ErrorMessage().c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Database::SetLoginFlags(uint32 CharID, bool LFP, bool LFG, uint8 firstlogon) {
|
void Database::SetLoginFlags(uint32 CharID, bool LFP, bool LFG, uint8 firstlogon) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user