mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue