From 76f5192d168bb1aca551cf3b2177871d644551fe Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Sat, 7 Apr 2018 09:16:23 +1000 Subject: [PATCH] Fix 'lately known as' showing to players on maps that have map-only chat on. --- MCGalaxy/Player/Player.Login.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/MCGalaxy/Player/Player.Login.cs b/MCGalaxy/Player/Player.Login.cs index a1884336d..5c64ed252 100644 --- a/MCGalaxy/Player/Player.Login.cs +++ b/MCGalaxy/Player/Player.Login.cs @@ -254,7 +254,8 @@ namespace MCGalaxy { LevelPermission rank = CommandExtraPerms.MinPerm("opchat", LevelPermission.Operator); string altsMsg = p.ColoredName + " %Sis lately known as: " + alts.Join(); - Chat.MessageWhere(altsMsg, pl => pl.Rank >= rank && Entities.CanSee(pl, p)); + Chat.MessageWhere(altsMsg, + pl => pl.Rank >= rank && Entities.CanSee(pl, p) && pl.level.SeesServerWideChat); //IRCBot.Say(temp, true); //Tells people in op channel on IRC Logger.Log(LogType.UserActivity, altsMsg); }