Allow option to skip non-violation chat checks

This commit is contained in:
SilicaAndPina 2021-02-04 14:20:12 +13:00
parent 1916d20031
commit 41578298b6
4 changed files with 13 additions and 1 deletions

View file

@ -440,6 +440,8 @@ namespace HISP.Game.Chat
public static string NonViolationChecks(User user, string message)
{
if(ConfigReader.DoNonViolations)
return null;
// Check if contains password.
if (message.ToLower().Contains(user.Password.ToLower()))

View file

@ -1124,7 +1124,8 @@ namespace HISP.Game
if(TileCode == "MULTIROOM")
{
user.MetaPriority = false; // acturally want to track updates here >-<
message += buildMultiroom(TileArg, user);
if(TileArg != "")
message += buildMultiroom(TileArg, user);
}
if(TileCode == "PASSWORD")
{