X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/aa65834c6fd6302e5ef3e810abc107ea737bcc74..659dbfa585a6a38e19f433bec0bef3fb465f5dc9:/include/hook.h diff --git a/include/hook.h b/include/hook.h index b1bad11..8e3c025 100644 --- a/include/hook.h +++ b/include/hook.h @@ -2,7 +2,6 @@ * Copyright (C) 2004-2005 Lee Hardy * Copyright (C) 2004-2005 ircd-ratbox development team * - * $Id: hook.h 906 2006-02-21 02:25:43Z nenolod $ */ #ifndef INCLUDED_HOOK_H #define INCLUDED_HOOK_H @@ -29,6 +28,7 @@ extern int h_umode_changed; extern int h_new_local_user; extern int h_new_remote_user; extern int h_introduce_client; +extern int h_can_kick; void init_hook(void); int register_hook(const char *name); @@ -70,6 +70,14 @@ typedef struct char *key; } hook_data_channel_activity; +typedef struct +{ + struct Client *client; + struct Channel *chptr; + struct Client *target; + int approved; +} hook_data_channel_approval; + typedef struct { struct Client *client;