From: Michael Poole Date: Sun, 30 Oct 2011 17:19:08 +0000 (-0400) Subject: Fix MIN_ARGC for ChanServ's !8ball and !d commands. X-Git-Url: http://git.pk910.de/?p=srvx.git;a=commitdiff_plain;h=2408030ebe96d62e9cfad6dcd498c62bad76f23c Fix MIN_ARGC for ChanServ's !8ball and !d commands. src/chanserv.c (init_chanserv): These commands need at least one argument. --- diff --git a/src/chanserv.c b/src/chanserv.c index 421da74..06a3d41 100644 --- a/src/chanserv.c +++ b/src/chanserv.c @@ -7908,8 +7908,8 @@ init_chanserv(const char *nick) DEFINE_COMMAND(unf, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); DEFINE_COMMAND(ping, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); DEFINE_COMMAND(wut, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); - DEFINE_COMMAND(8ball, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); - DEFINE_COMMAND(d, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); + DEFINE_COMMAND(8ball, 2, 0, "flags", "+nolog,+toy,+acceptchan", NULL); + DEFINE_COMMAND(d, 2, 0, "flags", "+nolog,+toy,+acceptchan", NULL); DEFINE_COMMAND(huggle, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL); /* Channel options */