summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlethality <lethality@anope.org>2012-01-14 15:58:51 +0000
committerlethality <lethality@anope.org>2012-01-14 15:58:51 +0000
commitf38faedbdad404983c0d291b8e0e233a6b0fb70d (patch)
treee8918547cb4caa5ccb22b4d77280619fadb7c39c
parentc462a69b7da4570ed07e627d81dbb80e012c7788 (diff)
Fixed an incorrect crash-causing response when an invalid option is specified in botservs kickers
-rw-r--r--modules/commands/bs_kick.cpp2
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;
}