summaryrefslogtreecommitdiff
path: root/src/fe-common/core/autorun.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-07-15 00:39:48 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-07-15 00:39:48 +0000
commit79d1d7089a699cf8a09bd5227f9033282001b0b3 (patch)
tree11a2e10bce84587e2b5a13029c43354a185e846c /src/fe-common/core/autorun.c
parentbcbb55dd1e0ecf828942dcc91d5661e9a44ab841 (diff)
downloadirssi-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.c2
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) {