mirror of
https://github.com/irssi/irssi.git
synced 2025-02-02 15:08:01 -05: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:
parent
f40e9513b2
commit
694251442c
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user