Fix answers to !winerror <hex number> command and to !error command.

svn path=/trunk/; revision=34081
This commit is contained in:
Filip Navara 2008-06-25 14:07:13 +00:00
parent a46601a21c
commit 3790fc1254

View file

@ -51,7 +51,7 @@ namespace TechBot.Commands.Common
{
XmlElement root = base.m_XmlDocument.DocumentElement;
XmlNode node = root.SelectSingleNode(String.Format("Winerror[@value='{0}']",
Text));
winerror.ToString()));
if (node != null)
{
XmlAttribute text = node.Attributes["text"];