summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-04-05 19:11:23 -0400
committerAdam <Adam@anope.org>2011-04-05 19:11:23 -0400
commitcb9ccc443d703f0249929968f7df2183949095d8 (patch)
tree5cf47c2681b0b504ae43009675b7e6f9aed0b6f2
parentc681bdd2e39b3ae5e87efedc7acf548ba3bff5fb (diff)
Fixed bug #1261
-rw-r--r--modules/core/bs_kick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/bs_kick.cpp b/modules/core/bs_kick.cpp
index ef78511a7..ff68b7099 100644
--- a/modules/core/bs_kick.cpp
+++ b/modules/core/bs_kick.cpp
@@ -278,7 +278,7 @@ class CommandBSKick : public Command
try
{
ci->ttb[TTB_REPEAT] = convertTo<int16>(ttb);
- if (ci->ttb[TTB_REPEAT])
+ if (ci->ttb[TTB_REPEAT] < 0)
throw ConvertException();
}
catch (const ConvertException &)