Updated all admin console commands to check if client is privileged (so group authentication works), instead of using RegAdminCmd. Minior fixes.

Changed admin teleport command to log target names.
Cached result of privilege check instead of calling function twice (zadmin menu).
Disabled old debug commands. Do not remove, we need them for testing later.
This commit is contained in:
richard
2009-10-26 23:17:22 +01:00
parent b856e69223
commit 3794251cc5
16 changed files with 208 additions and 36 deletions

View File

@ -24,7 +24,6 @@
{
"no" "{1}"
}
// Set string to "{1}" for all languages.
"Feature is disabled"
{
@ -46,6 +45,11 @@
"no" "Denne funksjonen gjelder kun for administratorer."
}
"No access to command"
{
"no" "Du har ikke tilgang til denne kommandoen."
}
"Must be alive"
{
"no" "Denne funksjonen gjelder kun for levende spillere."

View File

@ -59,6 +59,11 @@
"en" "This feature is reserved for admins only."
}
"No access to command"
{
"en" "You do not have access to this command."
}
"Must be alive"
{
"en" "This feature requires that you are alive."