X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/62d289465fbe0c51a6a86f642f8b88d7b44bcb47..dc34aae05e6e299a6c53c60b728d73ecb88b21bf:/src/hook.c diff --git a/src/hook.c b/src/hook.c index ef9b222..4f5c6ec 100644 --- a/src/hook.c +++ b/src/hook.c @@ -34,11 +34,10 @@ * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - * $Id: hook.c 712 2006-02-06 04:42:14Z gxti $ */ #include "stdinc.h" #include "hook.h" -#include "irc_string.h" +#include "match.h" hook *hooks; @@ -59,9 +58,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 +85,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()