diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-15 00:39:48 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-15 00:39:48 +0000 |
commit | 79d1d7089a699cf8a09bd5227f9033282001b0b3 (patch) | |
tree | 11a2e10bce84587e2b5a13029c43354a185e846c /src/fe-common/core/autorun.c | |
parent | bcbb55dd1e0ecf828942dcc91d5661e9a44ab841 (diff) | |
download | irssi-79d1d7089a699cf8a09bd5227f9033282001b0b3.zip |
Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/core/autorun.c')
-rw-r--r-- | src/fe-common/core/autorun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/core/autorun.c b/src/fe-common/core/autorun.c index b305b82e..8035e97e 100644 --- a/src/fe-common/core/autorun.c +++ b/src/fe-common/core/autorun.c @@ -32,7 +32,7 @@ static void sig_autorun(void) int f, ret, recvlen; /* open ~/.irssi/startup and run all commands in it */ - path = g_strdup_printf("%s/.irssi/startup", g_get_home_dir()); + path = g_strdup_printf("%s/startup", get_irssi_dir()); f = open(path, O_RDONLY); g_free(path); if (f == -1) { |