0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-17 23:40:57 +01:00

Extend hook_data_channel_activity moduledata with membership struct.

This commit is contained in:
William Pitcock 2010-12-06 22:57:04 -06:00
parent 83b72f917a
commit 6ca4dec95a
2 changed files with 2 additions and 0 deletions

View file

@ -75,6 +75,7 @@ typedef struct
{
struct Client *client;
struct Channel *chptr;
struct membership *msptr;
struct Client *target;
int approved;
} hook_data_channel_approval;

View file

@ -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;