SET SPANNUM: Fix incorrect > 0 check to be >= 0
This commit is contained in:
parent
3a4efe9081
commit
21cc31f4e5
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ quote_adminstring(struct Client *source_p, const char *arg, int newval)
|
||||||
static void
|
static void
|
||||||
quote_spamnum(struct Client *source_p, const char *arg, int newval)
|
quote_spamnum(struct Client *source_p, const char *arg, int newval)
|
||||||
{
|
{
|
||||||
if(newval > 0)
|
if(newval >= 0)
|
||||||
{
|
{
|
||||||
if(newval == 0)
|
if(newval == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue