Added SILC Thread Queue API
[runtime.git] / apps / irssi / src / fe-common / core / autorun.c
index 9c1050db313cdb123a9bd1814676f64dea7f5d49..77513a0ded525b18513d0594c83156611f4b9e3a 100644 (file)
@@ -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);