Author: Kev <klmitch@mit.edu>
[ircu2.10.12-pk.git] / ircd / m_oper.c
index c6986eef6ef3b206d254aa564582282b3929f793..767b52da0ac0f6810f42092bb767c37f7167facb 100644 (file)
@@ -180,6 +180,7 @@ int m_oper(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
 
     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);