Allow spaces in commands
[reactos.git] / irc / TechBot / TechBot.IRCLibrary / IrcMessage.cs
index 14e62fd..f74ea80 100644 (file)
@@ -419,7 +419,7 @@ namespace TechBot.IRCLibrary
                {\r
                        foreach (char c in command)\r
                        {\r
-                               if (!Char.IsLetter(c))\r
+                               if (!Char.IsLetter(c) && !Char.IsWhiteSpace(c))\r
                                {\r
                                        return false;\r
                                }\r