]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/hook.c
Backed out changeset 9bd802724b74
[irc/rqf/shadowircd.git] / src / hook.c
index ef9b2229ef1eeec228e2f8695de6802b2967aa6c..91b6413433e2c53f62ca64fc064047c4cfb43cf0 100644 (file)
@@ -38,7 +38,7 @@
  */
 #include "stdinc.h"
 #include "hook.h"
-#include "irc_string.h"
+#include "match.h"
 
 hook *hooks;
 
@@ -59,9 +59,11 @@ int h_burst_finished;
 int h_server_introduced;
 int h_server_eob;
 int h_client_exit;
+int h_umode_changed;
 int h_new_local_user;
 int h_new_remote_user;
 int h_introduce_client;
+int h_can_kick;
 
 void
 init_hook(void)
@@ -84,6 +86,7 @@ init_hook(void)
        h_new_local_user = register_hook("new_local_user");
        h_new_remote_user = register_hook("new_remote_user");
        h_introduce_client = register_hook("introduce_client");
+       h_can_kick = register_hook("can_kick");
 }
 
 /* grow_hooktable()