mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-07 21:58:06 -05:00
don't intercept commands for login plugin if they are from webfront
This commit is contained in:
parent
8e68c88ba3
commit
de94bf12bb
@ -51,7 +51,7 @@ namespace IW4MAdmin.Plugins.Login
|
||||
|
||||
manager.CommandInterceptors.Add(gameEvent =>
|
||||
{
|
||||
if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null)
|
||||
if (gameEvent.Type != GameEvent.EventType.Command || gameEvent.Extra is null || gameEvent.IsRemote)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user