diff options
| author | Azazel <azazel.kon@gmail.com> | 2011-07-29 15:25:52 +0600 |
|---|---|---|
| committer | Azazel <azazel.kon@gmail.com> | 2011-07-29 15:25:52 +0600 |
| commit | c5d0c6b4645ca0d41a5c1f81a35efc50f613f403 (patch) | |
| tree | 1324c463b29e8df2c19488a9d5ec03338fb34684 /src/server/game/Chat/Commands | |
| parent | cf643e51504e9cf1e6406b0781861e78f70374e0 (diff) | |
Core/Misc: cleanup npc_professions script (shouldn't the whole script go to DB?). Fix some warnings.
Diffstat (limited to 'src/server/game/Chat/Commands')
| -rwxr-xr-x | src/server/game/Chat/Commands/Level2.cpp | 2 |
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); } |
