From ef674acc245785ddf757c6b8f3b7765ff7905a54 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Fri, 11 Jan 2008 21:08:37 +0000 Subject: Fix some warnings under mono. --- .../DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 0ad10cc..b7fe241 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs @@ -2372,7 +2372,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler public void llSetParcelMusicURL(string url) { LLUUID landowner = World.GetLandOwner(m_host.AbsolutePosition.X, m_host.AbsolutePosition.Y); - if (landowner == null) + if (landowner.Equals(null)) { return; } @@ -2779,7 +2779,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler LLUUID reqID = httpScriptMod. StartHttpRequest(m_localID, m_itemID, url, param, body); - if (reqID != null) + if (!reqID.Equals(null)) return reqID.ToString(); else return null; -- cgit v1.1