Allow spaces in commands

svn path=/trunk/; revision=35090
This commit is contained in:
Pierre Schweitzer 2008-08-03 20:49:33 +00:00
parent 3473e20496
commit 555a6a340f

View file

@ -419,7 +419,7 @@ namespace TechBot.IRCLibrary
{ {
foreach (char c in command) foreach (char c in command)
{ {
if (!Char.IsLetter(c)) if (!Char.IsLetter(c) && !Char.IsWhiteSpace(c))
{ {
return false; return false;
} }