crash fix, issue #235

This commit is contained in:
mark 2007-08-12 17:45:52 +00:00
parent b9e3476d8b
commit 4e941e36b9

View file

@ -35,7 +35,8 @@ namespace Server.Commands.Generic
} }
else else
{ {
BaseCommand command = this.Commands[e.GetString( 1 )]; BaseCommand command = null;
m_Commands.TryGetValue( e.GetString( 1 ), out command );
if ( command == null ) if ( command == null )
{ {