Extend hook_data_channel_activity moduledata with membership struct.
This commit is contained in:
parent
83b72f917a
commit
6ca4dec95a
2 changed files with 2 additions and 0 deletions
|
@ -75,6 +75,7 @@ typedef struct
|
|||
{
|
||||
struct Client *client;
|
||||
struct Channel *chptr;
|
||||
struct membership *msptr;
|
||||
struct Client *target;
|
||||
int approved;
|
||||
} hook_data_channel_approval;
|
||||
|
|
|
@ -164,6 +164,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
|
|||
|
||||
hookdata.client = source_p;
|
||||
hookdata.chptr = chptr;
|
||||
hookdata.msptr = msptr;
|
||||
hookdata.target = who;
|
||||
hookdata.approved = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue