Author: Andrew Miller
[ircu2.10.12-pk.git] / ircd / m_oper.c
index 767b52da0ac0f6810f42092bb767c37f7167facb..1166840c5e77ae41993503721a51f6d59d7662c8 100644 (file)
@@ -179,7 +179,7 @@ int m_oper(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
     cli_flags(sptr) |= (FLAGS_WALLOP | FLAGS_SERVNOTICE | FLAGS_DEBUG);
 
     set_snomask(sptr, SNO_OPERDEFAULT, SNO_ADD);
-    client_set_privs(sptr);
+    client_set_privs(sptr, aconf);
     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);