]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - include/hook.h
Automated merge with ssh://shadowircd/uranium/shadowircd/
[irc/rqf/shadowircd.git] / include / hook.h
index b1bad11733fd99534ecf934b1f441541fc602394..8e3c0251cbfa2428671355c138650bf074949ba7 100644 (file)
@@ -2,7 +2,6 @@
  * Copyright (C) 2004-2005 Lee Hardy <lee -at- leeh.co.uk>
  * 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;