- small fix

svn path=/trunk/; revision=33588
This commit is contained in:
Marc Piulachs 2008-05-18 16:01:34 +00:00
parent fdb3291c6b
commit 4442c49eca
6 changed files with 6 additions and 8 deletions

View file

@ -20,7 +20,7 @@ namespace TechBot.Commands.Common
public override void ExecuteCommand()
{
if (Parameters == null)
if (string.IsNullOrEmpty(BugID))
{
Say("Please provide a valid bug number.");
}

View file

@ -19,7 +19,7 @@ namespace TechBot.Commands.Common
public override void ExecuteCommand()
{
if (Text == null)
if (string.IsNullOrEmpty(Text))
{
Say("Please provide a valid HRESULT value.");
}

View file

@ -19,7 +19,7 @@ namespace TechBot.Commands.Common
public override void ExecuteCommand()
{
if (Text == null)
if (string.IsNullOrEmpty(Text))
{
Say("Please provide a valid NTSTATUS value.");
}

View file

@ -26,7 +26,7 @@ namespace TechBot.Commands.Common
public override void ExecuteCommand()
{
if (WMText == null)
if (string.IsNullOrEmpty(WMText))
{
Say("Please provide a valid window message value or name.");

View file

@ -19,7 +19,7 @@ namespace TechBot.Commands.Common
public override void ExecuteCommand()
{
if (Text == null)
if (string.IsNullOrEmpty(Text))
{
Say("Please provide a valid System Error Code value.");
}