]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_user.c
Start moving parts of join to channels.c so they can be used in more places.
[irc/rqf/shadowircd.git] / src / s_user.c
index 23c569bde66cb218b4e3665dfcc2606a06b64604..3086828476d31c787c04dfdde139dbe38e43e6ec 100644 (file)
@@ -1364,7 +1364,7 @@ oper_up(struct Client *source_p, struct oper_conf *oper_p)
                 * Plus this is post-umode being set so you'll pass +I $o or +O.
                 * Hence why we're making this a normal clean join. --jdhore
                 */
-               user_join(client_p, source_p, aconf->autojoin_opers, NULL, 0);
+               user_join(&me, source_p, aconf->autojoin_opers, NULL, 0);
        }
 
        return (1);