summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-15 03:01:04 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-15 03:01:04 +0000
commit69469fe1c80e3cee1cd0c6e53ea916c86e321b92 (patch)
tree950ea096848c4d70189c66c9a34903a4d4dd0385 /src
parent99e7b28eef908c4bb88f87473f0aa06a8a9fab64 (diff)
downloadirssi-69469fe1c80e3cee1cd0c6e53ea916c86e321b92.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/core/expandos.c2
1 files changed, 1 insertions, 1 deletions
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)