mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 11:12:25 +00:00
[Bots] Fix unnecessary failed to save timer error (#3788)
This commit is contained in:
parent
933b83add6
commit
6e325c1ee3
@ -1022,10 +1022,7 @@ bool BotDatabase::DeleteTimers(const uint32 bot_id)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto success = BotTimersRepository::DeleteWhere(database, fmt::format("bot_id = {}", bot_id));
|
BotTimersRepository::DeleteWhere(database, fmt::format("bot_id = {}", bot_id));
|
||||||
if (!success) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user