From e34c5b75a9e56ff70a08f146d9c04fff404d5e22 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Sat, 17 Oct 2020 14:32:26 +0200 Subject: [PATCH] Correctedlicense --- source/Connection.d | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/source/Connection.d b/source/Connection.d index fb560cf..3abd0c4 100644 --- a/source/Connection.d +++ b/source/Connection.d @@ -35,25 +35,24 @@ public final class Connection : Thread private void worker() { + /** + * Setup the tab for this connection + */ te(); - box = getChatPane(); gui.notebook.add(box); - gui.notebook.setTabLabelText(box, "user@"~address.toString()); - gui.notebook.showAll(); - - - tl(); - writeln("connection gtk unlock"); + + /** + * Connects and logs in + */ client = new DClient(address); client.auth("bru", "kak"); /* TODO: DO this without auth (the list in the loop, crahses server) */ - writeln("br"); - + /* Display all channels */ channelList(); /**