Fix IRC chat not showing in-game

This commit is contained in:
UnknownShadow200 2018-06-01 15:36:00 +10:00
parent 8ad0f8632b
commit 72fcb02818
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -63,8 +63,8 @@ namespace MCGalaxy.Commands {
sw.WriteLine("# e.g. \"xyz : help\" means /xyz is treated as /help <args given by user>");
sw.WriteLine("# trigger : command [prefix]");
sw.WriteLine("# e.g. \"xyz : help me\" means /xyz is treated as /help me <args given by user>");
sw.WriteLine("# trigger : command {args}");
sw.WriteLine("# e.g. \"mod : setrank {args} mod \" means /mod is treated as /setrank <args given by user> mod");
sw.WriteLine("# trigger : command <prefix> {args} <suffix>");
sw.WriteLine("# e.g. \"mod : setrank {args} mod\" means /mod is treated as /setrank <args given by user> mod");
foreach (Alias a in aliases) {
if (a.Format == null) {