aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game')
-rwxr-xr-xsrc/server/game/Chat/Commands/Level2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Chat/Commands/Level2.cpp b/src/server/game/Chat/Commands/Level2.cpp
index ea7f17201d5..7362353b3cf 100755
--- a/src/server/game/Chat/Commands/Level2.cpp
+++ b/src/server/game/Chat/Commands/Level2.cpp
@@ -87,7 +87,7 @@ bool ChatHandler::HandleMuteCommand(const char* args)
else
{
//! Target is offline, mute will be in effect starting from the next login.
- int32 muteTime = -(notspeaktime * MINUTE);
+ int32 muteTime = -int32(notspeaktime * MINUTE);
LoginDatabase.PExecute("UPDATE account SET mutetime = %d WHERE id = %u", muteTime, account_id);
}