]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/hook.h
Update help snomask with snomasks provided by extensions.
[irc/rqf/shadowircd.git] / include / hook.h
index b1bad11733fd99534ecf934b1f441541fc602394..120fe7c26834913672a0b6d2ec48a8d60804a2fd 100644 (file)
@@ -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;