mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 03:55:18 -04:00
Fix using /hide with different name colour revealing you are hidden on IRC.
This commit is contained in:
parent
bd81627611
commit
be866550e6
@ -65,7 +65,7 @@ namespace MCGalaxy.Commands
|
||||
Chat.MessageOps("To Ops -" + p.ColoredName + "%S- is now &finvisible%S.");
|
||||
string discMsg = PlayerDB.GetLogoutMessage(p);
|
||||
Player.SendChatFrom(p, "&c- " + p.FullName + " %S" + discMsg, false);
|
||||
Server.IRC.Say(p.DisplayName + " left the game (" + discMsg + ")");
|
||||
Server.IRC.Say(p.DisplayName + " %Sleft the game (" + discMsg + "%S)");
|
||||
if (messageOps && !p.opchat) opchat.Use(p, message);
|
||||
Server.hidden.AddOrReplace(p.name);
|
||||
} else {
|
||||
@ -77,7 +77,7 @@ namespace MCGalaxy.Commands
|
||||
Chat.MessageAdmins("To Admins -" + p.ColoredName + "%S- is now &fvisible%S.");
|
||||
|
||||
Player.SendChatFrom(p, "&a+ " + p.FullName + " %S" + PlayerDB.GetLoginMessage(p), false);
|
||||
Server.IRC.Say(p.DisplayName + " joined the game");
|
||||
Server.IRC.Say(p.DisplayName + " %Sjoined the game");
|
||||
if (messageOps && p.opchat) opchat.Use(p, message);
|
||||
if (p.adminchat) adminchat.Use(p, message);
|
||||
Server.hidden.Remove(p.name);
|
||||
|
Loading…
x
Reference in New Issue
Block a user