From 72fcb02818bce043bda3f1d6a98e8a193b1bd8a3 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 1 Jun 2018 15:36:00 +1000 Subject: [PATCH] Fix IRC chat not showing in-game --- MCGalaxy/Chat/Chat.cs | 2 +- MCGalaxy/Commands/Alias.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MCGalaxy/Chat/Chat.cs b/MCGalaxy/Chat/Chat.cs index 5a9e1c865..385307a2c 100644 --- a/MCGalaxy/Chat/Chat.cs +++ b/MCGalaxy/Chat/Chat.cs @@ -232,7 +232,7 @@ namespace MCGalaxy { #region Format helpers static bool FilterIRC(Player pl, object arg) { - return pl.Ignores.IRC || pl.Ignores.IRCNicks.Contains((string)arg); + return !pl.Ignores.IRC && !pl.Ignores.IRCNicks.Contains((string)arg); } static ChatMessageFilter filterIRC = FilterIRC; diff --git a/MCGalaxy/Commands/Alias.cs b/MCGalaxy/Commands/Alias.cs index 88a2e423e..bce68e745 100644 --- a/MCGalaxy/Commands/Alias.cs +++ b/MCGalaxy/Commands/Alias.cs @@ -63,8 +63,8 @@ namespace MCGalaxy.Commands { sw.WriteLine("# e.g. \"xyz : help\" means /xyz is treated as /help "); sw.WriteLine("# trigger : command [prefix]"); sw.WriteLine("# e.g. \"xyz : help me\" means /xyz is treated as /help me "); - sw.WriteLine("# trigger : command {args}"); - sw.WriteLine("# e.g. \"mod : setrank {args} mod \" means /mod is treated as /setrank mod"); + sw.WriteLine("# trigger : command {args} "); + sw.WriteLine("# e.g. \"mod : setrank {args} mod\" means /mod is treated as /setrank mod"); foreach (Alias a in aliases) { if (a.Format == null) {