diff options
author | Adam <Adam@anope.org> | 2014-01-09 16:09:38 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-01-09 16:09:38 -0500 |
commit | b90a9a339ac06d03448b72613b5a179e95390b27 (patch) | |
tree | 26cf2ffc0aaf75c1e1be306da931f3af9b90dae7 /modules/commands/bs_kick.cpp | |
parent | 64f9aed76183930eee07451fab47d086e3c27af0 (diff) |
Fix empty ttb in bs kick repeat on
Diffstat (limited to 'modules/commands/bs_kick.cpp')
-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 36d77a6d4..d177d3cff 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -635,7 +635,7 @@ class CommandBSKickRepeat : public CommandBSKickBase if (params[1].equals_ci("ON")) { - const Anope::string &ttb = params[2], + const Anope::string &ttb = params.size() > 2 ? params[2] : "", × = params.size() > 3 ? params[3] : ""; if (!ttb.empty()) |