Author: pschweitzer
Date: Sun Aug 3 15:49:33 2008
New Revision: 35090
URL:
http://svn.reactos.org/svn/reactos?rev=35090&view=rev
Log:
Allow spaces in commands
Modified:
trunk/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs
Modified: trunk/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/irc/TechBot/TechBot.IRCLibrary/Irc…
==============================================================================
--- trunk/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs [iso-8859-1] (original)
+++ trunk/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs [iso-8859-1] Sun Aug 3 15:49:33
2008
@@ -419,7 +419,7 @@
{
foreach (char c in command)
{
- if (!Char.IsLetter(c))
+ if (!Char.IsLetter(c) && !Char.IsWhiteSpace(c))
{
return false;
}