- miscellaneous small fixes
[reactos.git] / irc / TechBot / TechBot.Library / Commands / HelpCommand.cs
index ff68f81..24824f2 100644 (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
        {
     [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()
                {
                }
         public HelpCommand()
                {
                }
@@ -22,7 +20,7 @@ namespace TechBot.Library
 
         public override void ExecuteCommand()
         {
 
         public override void ExecuteCommand()
         {
-            if (CommandName == null)
+            if (string.IsNullOrEmpty(CommandName))
             {
                 Say("I support the following commands:");
 
             {
                 Say("I support the following commands:");