SET SPANNUM: Fix incorrect > 0 check to be >= 0

This commit is contained in:
JailBird 2022-11-09 17:50:33 -06:00 committed by Doug Freed
parent 3a4efe9081
commit 21cc31f4e5

View file

@ -289,7 +289,7 @@ quote_adminstring(struct Client *source_p, const char *arg, int newval)
static void
quote_spamnum(struct Client *source_p, const char *arg, int newval)
{
if(newval > 0)
if(newval >= 0)
{
if(newval == 0)
{