Skip to content

Commit 19faaf2

Browse files
authored
Merge pull request #2332 from ZeroK-RTS/hammer-time
hammer time
2 parents 1e73abd + e11c9a2 commit 19faaf2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Zero-K.info/Controllers/UsersController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ public ActionResult Punish(int accountID,
286286

287287
Global.Server.GhostChanSay(GlobalConst.ModeratorChannel, string.Format("New penalty for {0} {1} ", acc.Name, Url.Action("Detail", "Users", new { id = acc.AccountID }, "http")));
288288
Global.Server.GhostChanSay(GlobalConst.ModeratorChannel, string.Format("Reason: {0} ", reason));
289+
Global.Server.GhostChanSay(GlobalConst.ModeratorChannel, string.Format("Duration: {0}h", banHours));
289290
Global.Server.GhostPm(acc.Name, string.Format("Your account has received moderator action: {0}", reason));
290291
}
291292
catch (Exception ex)

0 commit comments

Comments
 (0)