Change the logic and make the AnswerInPublic Command option opt-out instead of opt-in. Now everything except !help is allowed in public again (due to popular demand).

svn path=/trunk/; revision=34082
This commit is contained in:
Filip Navara 2008-06-25 14:13:21 +00:00
parent 3790fc1254
commit 3c6dcb0d0d
3 changed files with 7 additions and 7 deletions

View file

@ -12,11 +12,6 @@ namespace TechBot.Commands.Common
{
}
public override bool AnswerInPublic
{
get { return true; }
}
public string BugID
{
get { return Parameters; }

View file

@ -23,7 +23,7 @@ namespace TechBot.Library
public virtual bool AnswerInPublic
{
get { return false; }
get { return true; }
}
public string Name

View 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; }