mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +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
|
@ -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()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue