/auth now forcekicks if auth is disabled
Update submodule
This commit is contained in:
parent
2320613a1d
commit
9af4980b60
2 changed files with 2 additions and 1 deletions
|
|
@ -4542,6 +4542,7 @@ namespace TShockAPI
|
||||||
if (TShock.AuthToken == 0)
|
if (TShock.AuthToken == 0)
|
||||||
{
|
{
|
||||||
args.Player.SendWarningMessage("Auth is disabled. This incident has been logged.");
|
args.Player.SendWarningMessage("Auth is disabled. This incident has been logged.");
|
||||||
|
TShock.Utils.ForceKick(args.Player, "Auth system is disabled.", true, true);
|
||||||
TShock.Log.Warn("{0} attempted to use {1}auth even though it's disabled.", args.Player.IP, Specifier);
|
TShock.Log.Warn("{0} attempted to use {1}auth even though it's disabled.", args.Player.IP, Specifier);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 53753bd2b50fcefadc1f7807b8f64b62b0d7aa74
|
Subproject commit c7285a26806d5c109bd3a0346bc564982f501598
|
||||||
Loading…
Add table
Add a link
Reference in a new issue