Fix usage of reflection where it isn't necessary.

0.6.1-post-fixes
Homer Horwitz 2008-11-29 19:50:53 +00:00
parent 6408626c97
commit aaba3c342f
1 changed files with 1 additions and 1 deletions

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