mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 13:56:56 +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
|
public string BugID
|
||||||
{
|
{
|
||||||
get { return Parameters; }
|
get { return Parameters; }
|
||||||
|
|
|
@ -23,7 +23,7 @@ namespace TechBot.Library
|
||||||
|
|
||||||
public virtual bool AnswerInPublic
|
public virtual bool AnswerInPublic
|
||||||
{
|
{
|
||||||
get { return false; }
|
get { return true; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public string Name
|
public string Name
|
||||||
|
|
|
@ -11,6 +11,11 @@ namespace TechBot.Library
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public override bool AnswerInPublic
|
||||||
|
{
|
||||||
|
get { return false; }
|
||||||
|
}
|
||||||
|
|
||||||
[CommandParameter("Name", "The command name to show help")]
|
[CommandParameter("Name", "The command name to show help")]
|
||||||
public string CommandName
|
public string CommandName
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue