aboutsummaryrefslogtreecommitdiffstats
path: root/bitlbee.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitlbee.c')
-rw-r--r--bitlbee.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitlbee.c b/bitlbee.c
index 98f2d9c9..fa8c6795 100644
--- a/bitlbee.c
+++ b/bitlbee.c
@@ -310,6 +310,9 @@ static gboolean bitlbee_io_new_client(gpointer data, gint fd, b_input_condition
close(global.listen_socket);
b_event_remove(global.listen_watch_source_id);
+ /* Make a new pipe for the shutdown signal handler */
+ sighandler_shutdown_setup();
+
/* Make the connection. */
irc = irc_new(new_socket);