parent
a6e1172f97
commit
764d303543
30 changed files with 93 additions and 265 deletions
|
|
@ -76,7 +76,7 @@ namespace Server.Engines.Chat
|
|||
|
||||
public bool IsVoiced(ChatUser user) => m_Voices.Contains(user);
|
||||
|
||||
public bool ValidatePassword(string password) => m_Password == null || m_Password.InsensitiveEquals(password);
|
||||
public bool ValidatePassword(string password) => m_Password?.InsensitiveEquals(password) != false;
|
||||
|
||||
public bool ValidateModerator(ChatUser user)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue