Fix answers to !winerror <hex number> command and to !error command.
authorFilip Navara <filip.navara@gmail.com>
Wed, 25 Jun 2008 14:07:13 +0000 (14:07 +0000)
committerFilip Navara <filip.navara@gmail.com>
Wed, 25 Jun 2008 14:07:13 +0000 (14:07 +0000)
svn path=/trunk/; revision=34081

irc/TechBot/TechBot.Commands.Common/WinerrorCommand.cs

index 46eadd2..950f37b 100644 (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"];