From f38faedbdad404983c0d291b8e0e233a6b0fb70d Mon Sep 17 00:00:00 2001 From: lethality Date: Sat, 14 Jan 2012 15:58:51 +0000 Subject: [PATCH] Fixed an incorrect crash-causing response when an invalid option is specified in botservs kickers --- modules/commands/bs_kick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp index f6e700cf4..e834cd3a0 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -454,7 +454,7 @@ class CommandBSKick : public Command } } else - source.Reply(UNKNOWN_OPTION, Config->UseStrictPrivMsgString.c_str(), option.c_str(), this->name.c_str()); + this->OnSyntaxError(source, ""); } return; }