From 555a6a340ff6a94ccc39ab9a03e62d3bcaa4b975 Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 3 Aug 2008 20:49:33 +0000 Subject: [PATCH 1/1] Allow spaces in commands svn path=/trunk/; revision=35090 --- irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs b/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs index 14e62fd8fa4..f74ea806be4 100644 --- a/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs +++ b/irc/TechBot/TechBot.IRCLibrary/IrcMessage.cs @@ -419,7 +419,7 @@ namespace TechBot.IRCLibrary { foreach (char c in command) { - if (!Char.IsLetter(c)) + if (!Char.IsLetter(c) && !Char.IsWhiteSpace(c)) { return false; } -- 2.17.1