From aaba3c342f30c0095e715dcb7ad973e198718f7d Mon Sep 17 00:00:00 2001 From: Homer Horwitz Date: Sat, 29 Nov 2008 19:50:53 +0000 Subject: Fix usage of reflection where it isn't necessary. --- OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs b/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs index 6ba2f0f..28028bc 100644 --- a/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs +++ b/OpenSim/Region/Environment/Modules/Scripting/XMLRPC/XMLRPCModule.cs @@ -647,7 +647,7 @@ namespace OpenSim.Region.Environment.Modules.Scripting.XMLRPC if (resp != null) { Hashtable respParms; - if (resp.Value.GetType().Equals(Type.GetType("System.Collections.Hashtable"))) + if (resp.Value.GetType().Equals(typeof(System.Collections.Hashtable))) { respParms = (Hashtable) resp.Value; } -- cgit v1.1