mirror of
https://github.com/reactos/reactos.git
synced 2024-06-30 01:42:30 +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
|
@ -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,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
|
public string CommandName
|
||||||
{
|
{
|
||||||
get { return Parameters; }
|
get { return Parameters; }
|
||||||
|
|
Loading…
Reference in a new issue