aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorDouglas R. Miles2009-10-31 19:24:14 -0800
committerDiva Canto2009-10-31 19:05:02 -0700
commit7f4d646aeacef5e82a4f8df1494e3752afc3372f (patch)
tree13d879bcd1dc86590f07ef0598075ef937f8f1bb /OpenSim/Region/ScriptEngine/Shared/Api
parentMerge branch 'master' of ssh://MyConnection/var/git/opensim (diff)
downloadopensim-SC_OLD-7f4d646aeacef5e82a4f8df1494e3752afc3372f.zip
opensim-SC_OLD-7f4d646aeacef5e82a4f8df1494e3752afc3372f.tar.gz
opensim-SC_OLD-7f4d646aeacef5e82a4f8df1494e3752afc3372f.tar.bz2
opensim-SC_OLD-7f4d646aeacef5e82a4f8df1494e3752afc3372f.tar.xz
http://opensimulator.org/mantis/view.php?id=4337
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 3849558..c9221b8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3817,7 +3817,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3817 { 3817 {
3818 case 1: // DATA_ONLINE (0|1) 3818 case 1: // DATA_ONLINE (0|1)
3819 // TODO: implement fetching of this information 3819 // TODO: implement fetching of this information
3820 if (userProfile.CurrentAgent.AgentOnline) 3820 if (userProfile.CurrentAgent!=null && userProfile.CurrentAgent.AgentOnline)
3821 reply = "1"; 3821 reply = "1";
3822 else 3822 else
3823 reply = "0"; 3823 reply = "0";