]> jfr.im git - solanum.git/blobdiff - include/hook.h
override: only engage override code if we're needing to authorize a WRITE to a channe...
[solanum.git] / include / hook.h
index 7ab954fd0dd9b839db39044706261aa674aeafe7..c2bf69e8992f5930f3a3403335c2b21000125e63 100644 (file)
@@ -32,6 +32,8 @@ extern int h_introduce_client;
 extern int h_can_kick;
 extern int h_privmsg_channel;
 extern int h_privmsg_user;
+extern int h_conf_read_start;
+extern int h_conf_read_end;
 
 void init_hook(void);
 int register_hook(const char *name);
@@ -80,11 +82,13 @@ typedef struct
        struct membership *msptr;
        struct Client *target;
        int approved;
+       int dir;
 } hook_data_channel_approval;
 
 typedef struct
 {
        struct Client *client;
+       struct Client *target;
        int approved;
 } hook_data_client_approval;