X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fchannel.c;h=09e3a4484dc848d79087cbe15a0835b4297b6fc4;hb=7e7b05cccb573a5982baaf145e5b3e4e578f0272;hp=81be0d993346796f09e823b4b51ce458a5b1c4bc;hpb=46b0968143b5bd9ac8cbe9e850db94338bcd16f7;p=ircu2.10.12-pk.git diff --git a/ircd/channel.c b/ircd/channel.c index 81be0d9..09e3a44 100644 --- a/ircd/channel.c +++ b/ircd/channel.c @@ -1630,8 +1630,8 @@ modebuf_flush_int(struct ModeBuf *mbuf, int all) /* Ok, if we were given the OPMODE flag, or its a server, hide the source. */ - if (mbuf->mb_dest & MODEBUF_DEST_OPMODE || IsServer(mbuf->mb_source)) - app_source = &me; + if (mbuf->mb_dest & MODEBUF_DEST_OPMODE || IsServer(mbuf->mb_source) || IsMe(mbuf->mb_source)) + app_source = &his; else app_source = mbuf->mb_source;