[ros-diffs] [pschweitzer] 35090: Allow spaces in commands

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Sun Aug 3 22:49:33 CEST 2008


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/IrcMessage.cs?rev=35090&r1=35089&r2=35090&view=diff
==============================================================================
--- 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;
 				}



More information about the Ros-diffs mailing list