Author: navaraf
Date: Wed Jun 25 09:07:13 2008
New Revision: 34081
URL:
http://svn.reactos.org/svn/reactos?rev=34081&view=rev
Log:
Fix answers to !winerror <hex number> command and to !error command.
Modified:
trunk/irc/TechBot/TechBot.Commands.Common/WinerrorCommand.cs
Modified: trunk/irc/TechBot/TechBot.Commands.Common/WinerrorCommand.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/irc/TechBot/TechBot.Commands.Commo…
==============================================================================
--- trunk/irc/TechBot/TechBot.Commands.Common/WinerrorCommand.cs [iso-8859-1] (original)
+++ trunk/irc/TechBot/TechBot.Commands.Common/WinerrorCommand.cs [iso-8859-1] Wed Jun 25
09:07:13 2008
@@ -51,7 +51,7 @@
{
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"];