Fix usage of reflection where it isn't necessary.

This commit is contained in:
Homer Horwitz
2008-11-29 19:50:53 +00:00
parent 6408626c97
commit aaba3c342f

View File

@@ -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;
}