mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
Dumb eval location
This commit is contained in:
parent
2cef340b91
commit
1b19f9b485
14
Classic/scripts/server.cs
Normal file → Executable file
14
Classic/scripts/server.cs
Normal file → Executable file
|
|
@ -2047,13 +2047,13 @@ function serverCmdSet(%client, %type, %val)
|
|||
messageClient( %client, 'MsgAdmin', '\c2Unknown input value. 0 disables Fair Teams, 1 enables Fair Teams.' );
|
||||
}
|
||||
// z0dd - ZOD, 7/17/03. Allow super admins to issue console commands on the server.
|
||||
case "consolecmd":
|
||||
if($Host::ClassicAllowConsoleAccess)
|
||||
{
|
||||
eval(%val);
|
||||
messageClient( %client, 'MsgAdmin', '\c2Command %1 sent to server console.', %val );
|
||||
logEcho(%client.nameBase @ "Send the console command " @ %val @ " to the server.", 1);
|
||||
}
|
||||
// case "consolecmd":
|
||||
// if($Host::ClassicAllowConsoleAccess)
|
||||
// {
|
||||
// eval(%val);
|
||||
// messageClient( %client, 'MsgAdmin', '\c2Command %1 sent to server console.', %val );
|
||||
// logEcho(%client.nameBase @ "Send the console command " @ %val @ " to the server.", 1);
|
||||
// }
|
||||
|
||||
default:
|
||||
messageClient(%client, 'MsgValueFailed', '\c2No Changes. You did not specify a valid type.');
|
||||
|
|
|
|||
Loading…
Reference in a new issue