X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/aa65834c6fd6302e5ef3e810abc107ea737bcc74..100563e836978d8db0d236bae3758d1916989598:/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;