projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4298a99
)
Fix MIN_ARGC for ChanServ's !8ball and !d commands.
author
Michael Poole
<mdpoole@troilus.org>
Sun, 30 Oct 2011 17:19:08 +0000
(13:19 -0400)
committer
Michael Poole
<mdpoole@troilus.org>
Sun, 30 Oct 2011 17:19:08 +0000
(13:19 -0400)
src/chanserv.c (init_chanserv): These commands need at least one argument.
src/chanserv.c
patch
|
blob
|
history
diff --git
a/src/chanserv.c
b/src/chanserv.c
index 421da74d69eb26342f52d01af523fbb238c9183d..06a3d41e20b08a2eaa2afec2dee822f2cd552ad5 100644
(file)
--- 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(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 */
DEFINE_COMMAND(huggle, 1, 0, "flags", "+nolog,+toy,+acceptchan", NULL);
/* Channel options */