Log message:
* ircd/channel.c (mode_parse_client): don't send warning if
there's not enough arguments for a +/-o/v; means the habit of
doing "/mode #channel +oooooo bob" doesn't result in a bunch of
error messages
Status: Compile-checked
Testing needed:
Make sure "/mode #channel +oooooo bob" doesn't result in five warnings
about not enough parameters ;)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@250
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2000-06-09 Kevin L. Mitchell <klmitch@mit.edu>
+
+ * ircd/channel.c (mode_parse_client): don't send warning if
+ there's not enough arguments for a +/-o/v; means the habit of
+ doing "/mode #channel +oooooo bob" doesn't result in a bunch of
+ error messages
+
2000-06-04 Greg Sikorski <gte@atomicrevs.demon.co.uk>
* ircd/m_names.c: Re-factor code to remove unneccessary
#
# ChangeLog for ircu2.10.11
#
-# $Id: ChangeLog,v 1.144 2000-06-04 05:19:29 gte Exp $
+# $Id: ChangeLog,v 1.145 2000-06-09 19:18:11 kev Exp $
#
# Insert new changes at beginning of the change list.
#
if (MyUser(state->sptr) && state->max_args <= 0) /* drop if too many args */
return;
- if (state->parc <= 0) { /* warn if not enough args */
- if (MyUser(state->sptr))
- need_more_params(state->sptr, state->dir == MODE_ADD ?
- (flag_p[0] == MODE_CHANOP ? "MODE +o" : "MODE +v") :
- (flag_p[0] == MODE_CHANOP ? "MODE -o" : "MODE -v"));
+ if (state->parc <= 0) /* return if not enough args */
return;
- }
t_str = state->parv[state->args_used++]; /* grab arg */
state->parc--;