1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-20 05:13:37 -04:00

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
This commit is contained in:
Timo Sirainen 2002-06-06 19:23:13 +00:00 committed by cras
parent f40e9513b2
commit 694251442c

View File

@ -44,7 +44,7 @@ void autorun_startup(void)
recvlen = read(f, tmpbuf, sizeof(tmpbuf)); recvlen = read(f, tmpbuf, sizeof(tmpbuf));
ret = line_split(tmpbuf, recvlen, &str, &buffer); ret = line_split(tmpbuf, recvlen, &str, &buffer);
if (ret > 0) { if (ret > 0 && *str != '#') {
eval_special_string(str, "", eval_special_string(str, "",
active_win->active_server, active_win->active_server,
active_win->active); active_win->active);