X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/ab45668d6a80c475818e929175ef19da4e0bf63e..16d8d9fc6d5131eebc8fd10b4a025c0f8eda06f7:/include/hook.h diff --git a/include/hook.h b/include/hook.h index b1bad11..120fe7c 100644 --- a/include/hook.h +++ b/include/hook.h @@ -29,6 +29,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 +71,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;