diff options
author | Adam <Adam@anope.org> | 2014-11-15 08:50:37 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-11-15 08:50:37 -0500 |
commit | 8557a4161acf64c0e0747a20dd29bc3a3ed1abb4 (patch) | |
tree | 5094260d1dc154f2f589edb0bba307716a9ac764 /modules/commands/bs_kick.cpp | |
parent | c9008cdafa37a76d2579a09d360b2fe008748a66 (diff) |
Allow 0 ttb in flood kicker
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 09383f54d..e1667d510 100644 --- a/modules/commands/bs_kick.cpp +++ b/modules/commands/bs_kick.cpp @@ -514,7 +514,7 @@ class CommandBSKickFlood : public CommandBSKickBase try { i = convertTo<int16_t>(ttb); - if (i < 1) + if (i < 0) throw ConvertException(); } catch (const ConvertException &) |