mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-21 20:25:51 +12:00
Allow option to skip non-violation chat checks
This commit is contained in:
parent
1916d20031
commit
41578298b6
4 changed files with 13 additions and 1 deletions
|
@ -24,6 +24,7 @@ namespace HISP.Server
|
|||
public static bool AllUsersSubbed;
|
||||
public static bool BadWords;
|
||||
public static bool DoCorrections;
|
||||
public static bool DoNonViolations;
|
||||
|
||||
public const int MAX_STACK = 40;
|
||||
|
||||
|
@ -99,6 +100,9 @@ namespace HISP.Server
|
|||
case "enable_corrections":
|
||||
BadWords = data == "true";
|
||||
break;
|
||||
case "non_violation":
|
||||
DoNonViolations = data == "true";
|
||||
break;
|
||||
case "enable_word_filter":
|
||||
DoCorrections = data == "true";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue