Log message:
Invalidate the user's old sendq when he /oper's up, so that the new sendq
is retrieved from the Y-line associated with the O-line.
(pull-up from u2_10_11 branch)
git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@687
c9e4aea6-c8fd-4c43-8297-
357d70d61c8c
+2002-03-27 Kevin L Mitchell <klmitch@mit.edu>
+
+ * ircd/m_oper.c (m_oper): clear the new oper's sendq so it gets
+ inherited from the class associated with the O-line
+
2002-03-25 Kevin L Mitchell <klmitch@mit.edu>
* ircd/s_user.c (set_nick_name): invalidate all ban valid caching
set_snomask(sptr, SNO_OPERDEFAULT, SNO_ADD);
client_set_privs(sptr);
+ cli_max_sendq(sptr) = 0; /* Get the sendq from the oper's class */
send_umode_out(cptr, sptr, old_mode, HasPriv(sptr, PRIV_PROPAGATE));
send_reply(sptr, RPL_YOUREOPER);