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;