admin lc ga
This commit is contained in:
@@ -58,12 +58,9 @@ namespace ReallifeGamemode.Server.Services
|
||||
{
|
||||
User user = c.GetUser();
|
||||
Faction f = user?.Faction;
|
||||
if (f != null)
|
||||
if (f != null && factions.Find(fT => fT.Id == f.Id) != null)
|
||||
{
|
||||
if (factions.Find(fT => fT.Id == f.Id) != null)
|
||||
{
|
||||
ChatService.SendMessage(c, message);
|
||||
}
|
||||
ChatService.SendMessage(c, message);
|
||||
}
|
||||
else if (user.IsAdmin(AdminLevel.ADMIN) && toAdmins)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user