Skip to content

Commit 1e73abd

Browse files
authored
Merge pull request #2331 from ZeroK-RTS/sprunk-patch-7
WHR aliasing creates a message
2 parents 36ad810 + e73cfcc commit 1e73abd

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Zero-K.info/Controllers/UsersController.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,9 @@ public ActionResult SetWhrAlias(int accountID, string alias)
527527

528528
acc.WhrAlias = aliasId;
529529
db.SaveChanges();
530-
530+
531+
Global.Server.GhostChanSay(GlobalConst.ModeratorChannel, string.Format("{0} linked {1} WHR to {2}", Global.Account.Name, acc.Name, aliasAcc.Name));
532+
531533
return Content(string.Format("{0} will play for {1}", acc, aliasAcc));
532534
}
533535
}

0 commit comments

Comments
 (0)