summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-04-19 08:32:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-04-19 08:32:46 +0000
commit97af1210e16b6014be722841e62f9527c7f94d94 (patch)
tree3aea591a3d284cb32048eae60e0516e697577d85
parent92b780ff60b4883f2a9beea84de8dd0cb99fd0e6 (diff)
downloadirssi-97af1210e16b6014be722841e62f9527c7f94d94.zip
signal leak fix
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2699 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/irc/fe-modes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-common/irc/fe-modes.c b/src/fe-common/irc/fe-modes.c
index 9189ce04..753b8ac1 100644
--- a/src/fe-common/irc/fe-modes.c
+++ b/src/fe-common/irc/fe-modes.c
@@ -100,6 +100,8 @@ static void sig_print_starting(void)
print_mode(modes->data);
mode_destroy(modes->data);
}
+
+ signal_remove("print starting", sig_print_starting);
}
static int sig_check_modes(void)