no message

This commit is contained in:
SilicaAndPina 2020-10-01 12:26:36 +13:00
parent 30c0be0020
commit b4b566f1bf
15 changed files with 3 additions and 2 deletions

View file

@ -8,7 +8,7 @@ namespace Horse_Isle_Server
{
class Chat
{
public static bool isCommand(User user, string message)
private static bool isCommand(User user, string message)
{
if (message.Length < 1)
return false;
@ -18,9 +18,10 @@ namespace Horse_Isle_Server
return true;
if (message[0] == '!')
return true;
return false;
}
public static bool isAppropriate(string message)
private static bool isAppropriate(string message)
{
if (!ConfigReader.BadWords)
return true;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.