diff options
author | Timo Sirainen <cras@irssi.org> | 2002-06-06 19:23:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-06-06 19:23:13 +0000 |
commit | 694251442c84f37470da7bb609a27e773d0175d6 (patch) | |
tree | 8cbba4101336914ce429fe5a77a66cb88a711af2 /src | |
parent | f40e9513b25b6ae4757b612065d036c635d8afaf (diff) | |
download | irssi-694251442c84f37470da7bb609a27e773d0175d6.zip |
Lines beginning with '#' in ~/.irssi/startup file are now treated as
comments
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2842 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-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 9c1050db..77513a0d 100644 --- a/src/fe-common/core/autorun.c +++ b/src/fe-common/core/autorun.c @@ -44,7 +44,7 @@ void autorun_startup(void) recvlen = read(f, tmpbuf, sizeof(tmpbuf)); ret = line_split(tmpbuf, recvlen, &str, &buffer); - if (ret > 0) { + if (ret > 0 && *str != '#') { eval_special_string(str, "", active_win->active_server, active_win->active); |