mirror of
https://github.com/anope/anope.git
synced 2026-07-06 14:53:13 +02:00
Allow 0 ttb in flood kicker
This commit is contained in:
@@ -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 &)
|
||||
|
||||
Reference in New Issue
Block a user