| # | Line 751 | Line 751 | can_send(struct Channel *chptr, struct C | |
|---|---|---|
| 751 | return CAN_SEND_OPV; | |
| 752 | if (chptr->mode.mode & MODE_MODERATED) | |
| 753 | return ERR_CANNOTSENDTOCHAN; | |
| 754 | < | if ((chptr->mode.mode & MODE_REGONLY) && !HasUMode(source_p, UMODE_REGISTERED)) |
| 754 | > | if ((chptr->mode.mode & MODE_MODREG) && !HasUMode(source_p, UMODE_REGISTERED)) |
| 755 | return ERR_NEEDREGGEDNICK; | |
| 756 | ||
| 757 | /* cache can send if banned */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |