Enable /saconfig clean for all telnet users.

This commit is contained in:
Steven Lawson 2013-09-07 21:16:35 -04:00
parent fef5f7604b
commit 7144894848

View File

@ -27,7 +27,7 @@ public class Command_saconfig extends TFM_Command
}
else
{
if (!TFM_SuperadminList.isSeniorAdmin(sender))
if (sender instanceof Player && !TFM_SuperadminList.isSeniorAdmin(sender))
{
playerMsg(TotalFreedomMod.MSG_NO_PERMS);
return true;