From 69469fe1c80e3cee1cd0c6e53ea916c86e321b92 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 15 Mar 2001 03:01:04 +0000 Subject: [PATCH] signal_add_first("setup changed", .. so if some other "setup changed" handler wants to ask $Z it works properly. This fix is kind of a kludge, some better way should be found to fix these kind of problems (just g_strdup() them?) git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1389 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/core/expandos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/expandos.c b/src/core/expandos.c index 68d14dcc..11a2c16f 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -544,7 +544,7 @@ void expandos_init(void) signal_add("message public", (SIGNAL_FUNC) sig_message_public); signal_add("message private", (SIGNAL_FUNC) sig_message_private); signal_add("message own_private", (SIGNAL_FUNC) sig_message_own_private); - signal_add("setup changed", (SIGNAL_FUNC) read_settings); + signal_add_first("setup changed", (SIGNAL_FUNC) read_settings); } void expandos_deinit(void)