Fix lines displayed in wrong buffer on startup

The bug was introduced by commit 46e5dee03acce56cdb7b3b65346acc9a5ecd210d
(option relay.lines to limit the number of lines received on connection).