Switch more uses of &me to &his for channel localcasts.
[ircu2.10.12-pk.git] / ircd / channel.c
index f29c124e44167fe9707432efc711af167cb6cb23..fcf1d3a4e1818edce15ababf3f88a3968199be73 100644 (file)
@@ -3424,7 +3424,7 @@ joinbuf_join(struct JoinBuf *jbuf, struct Channel *chan, unsigned int flags)
 
       /* send an op, too, if needed */
       if (flags & CHFL_CHANOP && (oplevel < MAXOPLEVEL || !MyUser(jbuf->jb_source)))
-       sendcmdto_channel_butserv_butone((chan->mode.apass[0] ? &me : jbuf->jb_source),
+       sendcmdto_channel_butserv_butone((chan->mode.apass[0] ? &his : jbuf->jb_source),
                                          CMD_MODE, chan, NULL, 0, "%H +o %C",
                                         chan, jbuf->jb_source);
     } else if (MyUser(jbuf->jb_source))