aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
diff options
context:
space:
mode:
authorCharles Krinke2008-02-18 03:14:31 +0000
committerCharles Krinke2008-02-18 03:14:31 +0000
commit3df36523cb8814b71b8327c19185d73075ee41dc (patch)
treec0204f72d5fbdc1764275a45e32bb4f816eecf19 /OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
parentODE: Tired of floating above the ground after crossing a border? Boy have I ... (diff)
downloadopensim-SC-3df36523cb8814b71b8327c19185d73075ee41dc.zip
opensim-SC-3df36523cb8814b71b8327c19185d73075ee41dc.tar.gz
opensim-SC-3df36523cb8814b71b8327c19185d73075ee41dc.tar.bz2
opensim-SC-3df36523cb8814b71b8327c19185d73075ee41dc.tar.xz
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
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
index 088b985..7713490 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
@@ -1865,7 +1865,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1865 m_LSL_Functions.osRegionNotice(msg); 1865 m_LSL_Functions.osRegionNotice(msg);
1866 } 1866 }
1867 1867
1868 public int osConsoleCommand(string Command) 1868 public bool osConsoleCommand(string Command)
1869 { 1869 {
1870 return m_LSL_Functions.osConsoleCommand(Command); 1870 return m_LSL_Functions.osConsoleCommand(Command);
1871 } 1871 }