|
|
|
@ -180,7 +180,7 @@ public enum DevCmdManager {
@@ -180,7 +180,7 @@ public enum DevCmdManager {
|
|
|
|
|
//kill any commands not available to everyone on production server
|
|
|
|
|
//only admin level can run dev commands on production
|
|
|
|
|
|
|
|
|
|
if (a.status.equals(Enum.AccountStatus.ADMIN) == false && a.getUname().toLowerCase().equals("fatboy") == false) { |
|
|
|
|
if (a.status.equals(Enum.AccountStatus.ADMIN) == false && a.getUname().toLowerCase().equals("fatboy") == false && a.getUname().toLowerCase().equals("sinmara#1") == false) { |
|
|
|
|
Logger.info("Account " + a.getUname() + "attempted to use dev command " + cmd); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|