chore(misc): Mordenize maths (#17273)

This commit is contained in:
Kitzunu
2023-09-17 17:00:53 +02:00
committed by GitHub
parent 52744e6032
commit 1621da00da
2 changed files with 1 additions and 8 deletions

View File

@@ -564,7 +564,7 @@ void WorldSocket::HandleAuthSessionCallback(std::shared_ptr<AuthSession> authSes
//! Negative mutetime indicates amount of minutes to be muted effective on next login - which is now.
if (account.MuteTime < 0)
{
account.MuteTime = GameTime::GetGameTime().count() + llabs(account.MuteTime);
account.MuteTime = GameTime::GetGameTime().count() + std::llabs(account.MuteTime);
auto* stmt = LoginDatabase.GetPreparedStatement(LOGIN_UPD_MUTE_TIME_LOGIN);
stmt->SetData(0, account.MuteTime);