summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-06-06 19:23:13 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-06-06 19:23:13 +0000
commit694251442c84f37470da7bb609a27e773d0175d6 (patch)
tree8cbba4101336914ce429fe5a77a66cb88a711af2 /src
parentf40e9513b25b6ae4757b612065d036c635d8afaf (diff)
downloadirssi-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.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 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);