mirror of
https://github.com/daffyyyy/CS2-SimpleAdmin.git
synced 2026-09-27 20:17:04 +02:00
Hotfix for AntiDLL module
This commit is contained in:
parent
babcbc2119
commit
2d77e86d59
3 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ public sealed class AntiDLL_CS2_SimpleAdmin : BasePlugin, IPluginConfig<PluginCo
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Server.ExecuteCommand(Config.CommandToExecute.Replace("{steamid64}", player.SteamID.ToString())
|
Server.ExecuteCommand(Config.CommandToExecute.Replace("{steamid64}", player.SteamID.ToString())
|
||||||
.Replace("{duration}", Config.Duration.ToString().Replace("{reason}", $"\"{Config.Reason}\""))
|
.Replace("{duration}", Config.Duration.ToString()).Replace("{reason}", $"\"{Config.Reason}\"")
|
||||||
.Replace("{userid}", player.UserId.Value.ToString()));
|
.Replace("{userid}", player.UserId.Value.ToString()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue