diff --git a/client/dcwebui.js b/client/dcwebui.js index efa8c04..2bd2115 100644 --- a/client/dcwebui.js +++ b/client/dcwebui.js @@ -757,6 +757,12 @@ window.onload = function() { } $("#chatbox").value = pre_login; + if (have_cleared_once) { + // re-log-in automatically + write("tab-main").system("Automatically reconnecting as \"" + pre_login + "\"..."); + submit(); + } + if (!have_cleared_once) { write("tab-main").cls(); userlist.clear();