mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
no message
This commit is contained in:
parent
30c0be0020
commit
b4b566f1bf
15 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue