mirror of
https://github.com/reactos/reactos.git
synced 2026-06-01 00:40:26 +08: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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user