Removed force kick for attempting to use setup
On many servers, players are tricked into running the /auth or /setup command to get them kicked. This is stupid. Since the system is disabled anyway, we don't need to kick them.
This commit is contained in:
parent
f79c6a2962
commit
9e91db9ea4
1 changed files with 0 additions and 1 deletions
|
|
@ -4838,7 +4838,6 @@ namespace TShockAPI
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
args.Player.SendWarningMessage("The initial setup system is disabled. This incident has been logged.");
|
args.Player.SendWarningMessage("The initial setup system is disabled. This incident has been logged.");
|
||||||
TShock.Utils.ForceKick(args.Player, "The initial setup system is disabled.", true, true);
|
|
||||||
TShock.Log.Warn("{0} attempted to use the initial setup system even though it's disabled.", args.Player.IP);
|
TShock.Log.Warn("{0} attempted to use the initial setup system even though it's disabled.", args.Player.IP);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue