thedjpetersen/subway — pull request #168 by noraesae (2012-09-29 09:04:11+00:00)
Title: make 'keeping connection alive' optional

Make 'keeping connection alive after browser closed' feature optional and user-selectable.

I created the checkbox in server connection form.

If the user checked 'Keep connection alive..', the connection'll be kept alive after the browser is closed.

If not, the irc connection closed when the browser closed but it remember the server and channels, and when the user log in later, the user'll be connected with the setting the user used.

But for this patch, I can't assure that there's better way to implement this.
Please review the code, and let me know if there's something i can make better.
Also, you can test this patch here : http://subway.yuiazu.net/

Thanks.