- small fix

svn path=/trunk/; revision=33588
This commit is contained in:
Marc Piulachs 2008-05-18 16:01:34 +00:00
parent fdb3291c6b
commit 4442c49eca
6 changed files with 6 additions and 8 deletions

View file

@ -7,8 +7,6 @@ namespace TechBot.Library
[Command("help", Help = "!help or !help -name:[CommandName]", Description = "Shows this help , type 'help -name:[CommandName]'")]
public class HelpCommand : Command
{
private string m_CommandName = null;
public HelpCommand()
{
}
@ -22,7 +20,7 @@ namespace TechBot.Library
public override void ExecuteCommand()
{
if (CommandName == null)
if (string.IsNullOrEmpty(CommandName))
{
Say("I support the following commands:");