mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
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:
parent
3790fc1254
commit
3c6dcb0d0d
3 changed files with 7 additions and 7 deletions
|
@ -12,11 +12,6 @@ namespace TechBot.Commands.Common
|
|||
{
|
||||
}
|
||||
|
||||
public override bool AnswerInPublic
|
||||
{
|
||||
get { return true; }
|
||||
}
|
||||
|
||||
public string BugID
|
||||
{
|
||||
get { return Parameters; }
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace TechBot.Library
|
|||
|
||||
public virtual bool AnswerInPublic
|
||||
{
|
||||
get { return false; }
|
||||
get { return true; }
|
||||
}
|
||||
|
||||
public string Name
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue