hirc

IRC client
Log | Files | Refs

commit bff08f1ac6d9130e163b44192badced563064baa
parent 57bbe6262d9e04657933e47a88f771e44f4a28ea
Author: hhvn <dev@hhvn.uk>
Date:   Fri, 12 Nov 2021 15:21:35 +0000

main.c ui.c: select main_buf instead of creating server

Diffstat:
Mmain.c | 4----
Mui.c | 1+
2 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/main.c b/main.c @@ -220,10 +220,6 @@ main(int argc, char **argv) { main_buf->history = NULL; ui_init(); - ui_select(serv_add(&servers, "hlircnet", "localhost", "6667", "hhvn", "Fanatic", "gopher://hhvn.uk", 1, 0), NULL); - /* serv_add(&servers, "dataswamp", "127.0.0.1", "6697", "hhvn", "Fanatic", "gopher://hhvn.uk", 1, 0); */ - for (sp = servers; sp; sp = sp->next) - serv_connect(sp); for (;;) { if (serv_poll(&servers, 5) < 0) { diff --git a/ui.c b/ui.c @@ -111,6 +111,7 @@ ui_init(void) { keypad(windows[Win_input].window, TRUE); ui_redraw(); + ui_select(NULL, NULL); } int