diff --git a/src/channel.c b/src/channel.c index 2496f67b..5a134235 100644 --- a/src/channel.c +++ b/src/channel.c @@ -895,6 +895,11 @@ can_send(struct Channel *chptr, struct Client *source_p, struct membership *mspt if(is_chanop_voiced(msptr)) moduledata.approved = CAN_SEND_OPV; + moduledata.client = source_p; + moduledata.chptr = msptr->chptr; + moduledata.msptr = msptr; + moduledata.target = NULL; + call_hook(h_can_send, &moduledata); return moduledata.approved;