fixes #106: crash on opening buffer or nick list while connecting