Thank you very much, Hashbox for:

Changed the public IsAdministrator back to protected, 
now checks Config to see whether it is allowed to run or not. 
Defaults to false (not allowed).
To use add the following to OpenSim.ini
[LL-Functions]
AllowosConsoleCommand=true
This commit is contained in:
Charles Krinke
2008-02-18 03:14:31 +00:00
parent 8edaada1d3
commit 3df36523cb
6 changed files with 25 additions and 468 deletions

View File

@@ -1865,7 +1865,7 @@ namespace OpenSim.Region.ScriptEngine.Common
m_LSL_Functions.osRegionNotice(msg);
}
public int osConsoleCommand(string Command)
public bool osConsoleCommand(string Command)
{
return m_LSL_Functions.osConsoleCommand(Command);
}