diff -uNrp BitchX-1.2.1.orig/source/commands.c BitchX-1.2.1/source/commands.c
--- BitchX-1.2.1.orig/source/commands.c 2013-01-01 15:55:05.000000000 +1100
+++ BitchX-1.2.1/source/commands.c 2020-01-29 23:03:49.872872533 +1100
@@ -118,7 +118,6 @@ extern int doing_notice;
static void oper_password_received (char *, char *);
-int no_hook_notify = 0;
int load_depth = -1;
extern char cx_function[];
diff -uNrp BitchX-1.2.1.orig/source/modules.c BitchX-1.2.1/source/modules.c
--- BitchX-1.2.1.orig/source/modules.c 2013-01-01 15:55:05.000000000 +1100
+++ BitchX-1.2.1/source/modules.c 2020-01-29 23:04:14.930210068 +1100
@@ -83,7 +83,7 @@ extern int (*dcc_output_func) (int, int,
extern int (*dcc_input_func) (int, int, char *, int, int);
extern int (*dcc_close_func) (int, unsigned long, int);
-int (*serv_open_func) (int, unsigned long, int);
+extern int (*serv_open_func) (int, unsigned long, int);
extern int (*serv_output_func) (int, int, char *, int);
extern int (*serv_input_func) (int, char *, int, int, int);
extern int (*serv_close_func) (int, unsigned long, int);
diff -uNrp BitchX-1.2.1.orig/source/numbers.c BitchX-1.2.1/source/numbers.c
--- BitchX-1.2.1.orig/source/numbers.c 2013-01-01 15:55:05.000000000 +1100
+++ BitchX-1.2.1/source/numbers.c 2020-01-29 23:04:41.197563901 +1100
@@ -64,7 +64,6 @@ void show_server_map (void);
int stats_k_grep (char **);
void who_handlekill (char *, char *, char *);
void handle_tracekill (int, char *, char *, char *);
-int no_hook_notify;
extern AJoinList *ajoin_list;
void remove_from_server_list (int);