diff options
author | lethality <lethality@anope.org> | 2012-01-14 15:58:51 +0000 |
---|---|---|
committer | lethality <lethality@anope.org> | 2012-01-14 15:58:51 +0000 |
commit | f38faedbdad404983c0d291b8e0e233a6b0fb70d (patch) | |
tree | e8918547cb4caa5ccb22b4d77280619fadb7c39c | |
parent | c462a69b7da4570ed07e627d81dbb80e012c7788 (diff) |
Fixed an incorrect crash-causing response when an invalid option is specified in botservs kickers
-rw-r--r-- | modules/commands/bs_kick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |