mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-07 21:55:42 +12:00
Fix mod chat
This commit is contained in:
parent
07952c6c02
commit
9b32c8edeb
2 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ namespace HISP.Game.Chat
|
||||||
|
|
||||||
if (channel == ChatChannel.Mod)
|
if (channel == ChatChannel.Mod)
|
||||||
{
|
{
|
||||||
if (!user.Moderator || !user.Administrator) // No mod chat for non-mods!
|
if (!user.Moderator && !user.Administrator) // No mod chat for non-mods!
|
||||||
{
|
{
|
||||||
Logger.WarnPrint(user.Username + " attempted to send in MOD chat, without being a MOD.");
|
Logger.WarnPrint(user.Username + " attempted to send in MOD chat, without being a MOD.");
|
||||||
return new GameClient[0];
|
return new GameClient[0];
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 66bbfd79136875e04822171c5b755f0129b23061
|
Subproject commit ed3ee67204a391ed0f8c43b681af64e7f7b2883f
|
Loading…
Add table
Reference in a new issue