diff options
author | Adam <Adam@anope.org> | 2011-04-05 19:10:42 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-04-05 19:10:42 -0400 |
commit | 255d76ccc1f81251ddcc63427b768ac25d0d89b8 (patch) | |
tree | b55306bea1c9f4a38642597518c52107ddcb81bd | |
parent | d0746ae8d634839632ce25246897963b3509b2d9 (diff) |
Fixed bug #1261
-rw-r--r-- | modules/core/bs_kick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/bs_kick.cpp b/modules/core/bs_kick.cpp index c2065fc47..68bc983c8 100644 --- a/modules/core/bs_kick.cpp +++ b/modules/core/bs_kick.cpp @@ -270,7 +270,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 CoreException(); } catch (const CoreException &) |