Change the logic and make the AnswerInPublic Command option opt-out instead of opt...
authorFilip Navara <filip.navara@gmail.com>
Wed, 25 Jun 2008 14:13:21 +0000 (14:13 +0000)
committerFilip Navara <filip.navara@gmail.com>
Wed, 25 Jun 2008 14:13:21 +0000 (14:13 +0000)
svn path=/trunk/; revision=34082

irc/TechBot/TechBot.Commands.Common/Base/BugCommand.cs
irc/TechBot/TechBot.Library/Commands/Base/Command.cs
irc/TechBot/TechBot.Library/Commands/HelpCommand.cs

index b3e182d..d6563d6 100644 (file)
@@ -12,11 +12,6 @@ namespace TechBot.Commands.Common
                {
                }
 
-        public override bool AnswerInPublic
-        {
-            get { return true; }
-        }
-
         public string BugID
         {
             get { return Parameters; }
index a822e4c..040d870 100644 (file)
@@ -23,7 +23,7 @@ namespace TechBot.Library
 
         public virtual bool AnswerInPublic
         {
-            get { return false; }
+            get { return true; }
         }
 
         public string Name
index 24824f2..7c7fb34 100644 (file)
@@ -11,7 +11,12 @@ namespace TechBot.Library
                {
                }
 
-        [CommandParameter("Name", "The command name to show help")]
+               public override bool AnswerInPublic
+               {
+                       get { return false; }
+               }
+
+               [CommandParameter("Name", "The command name to show help")]
         public string CommandName
         {
             get { return Parameters; }