572 |
|
/* sendto_channel_local() |
573 |
|
* |
574 |
|
* inputs - member status mask, e.g. CHFL_CHANOP | CHFL_VOICE |
575 |
– |
* - whether to ignore +D clients (YES/NO) |
575 |
|
* - pointer to channel to send to |
576 |
|
* - var args pattern |
577 |
|
* output - NONE |
579 |
|
* locally connected to this server. |
580 |
|
*/ |
581 |
|
void |
582 |
< |
sendto_channel_local(unsigned int type, int nodeaf, struct Channel *chptr, |
582 |
> |
sendto_channel_local(unsigned int type, struct Channel *chptr, |
583 |
|
const char *pattern, ...) |
584 |
|
{ |
585 |
|
va_list args; |
600 |
|
if (type && (ms->flags & type) == 0) |
601 |
|
continue; |
602 |
|
|
603 |
< |
if (IsDefunct(target_p) || |
605 |
< |
(nodeaf && HasUMode(target_p, UMODE_DEAF))) |
603 |
> |
if (IsDefunct(target_p)) |
604 |
|
continue; |
605 |
|
|
606 |
|
send_message(target_p, buffer); |
641 |
|
if (one && target_p == one->from) |
642 |
|
continue; |
643 |
|
|
644 |
< |
if (IsDefunct(target_p) || HasUMode(target_p, UMODE_DEAF)) |
644 |
> |
if (IsDefunct(target_p)) |
645 |
|
continue; |
646 |
|
|
647 |
|
if (poscap && HasCap(target_p, poscap) != poscap) |