| # | Line 751 | Line 751 | can_send(struct Channel *chptr, struct C | |
|---|---|---|
| 751 | if ((chptr->mode.mode & MODE_NOCTRL) && msg_has_ctrls(message)) | |
| 752 | return ERR_NOCTRLSONCHAN; | |
| 753 | ||
| 754 | + | if (chptr->mode.mode & MODE_NOCTCP) |
| 755 | + | if (*message++ == '\001' && strncmp(message, "ACTION ", 7)) |
| 756 | + | return ERR_NOCTCP; |
| 757 | + | |
| 758 | if (member || (member = find_channel_link(source_p, chptr))) | |
| 759 | if (member->flags & (CHFL_CHANOP|CHFL_HALFOP|CHFL_VOICE)) | |
| 760 | return CAN_SEND_OPV; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |