]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/send.c
Add full support for +a (owner) and +h (halfop) chmodes.
[irc/rqf/shadowircd.git] / src / send.c
index 4aebff91459fb26aa2cc4431b9f507b2a2a4ae3e..e5d71f2285236752503ea0e6b4893de5c091fc02 100644 (file)
@@ -584,7 +584,7 @@ sendto_channel_opmod(struct Client *one, struct Client *source_p,
                if(IsIOError(target_p->from) || target_p->from == one)
                        continue;
 
-               if((msptr->flags & CHFL_CHANOP) == 0)
+               if(!is_any_op(msptr))
                        continue;
 
                if(IsDeaf(target_p))