From d92bf1f7cf76d0c678ccbaea10a5ff6d41630e52 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 11 Mar 2026 06:26:04 -0400 Subject: Remove server/nick prompts from client, add a separate config tool that loads as an init segment, with lots more options. --- src/cmd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/cmd.c') diff --git a/src/cmd.c b/src/cmd.c index f548b74..88bf669 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -5,6 +5,7 @@ #include "irc.h" #include "addrs.h" #include "screen.h" +#include "config.h" /* A "command" is actually anything the user types, whether or not it starts with a /character. */ @@ -74,7 +75,7 @@ static void cmd_chan_text(void) { /* 0x02 = ^B = enable bold */ scr_print_active("<\x02"); - scr_print_active(usernick); + scr_print_active(conf->nick); scr_print_active("\x02"); /* @@ -305,7 +306,7 @@ static void do_me(void) { txbuf_send(); scr_print_current("\x02* "); - scr_print_current(usernick); + scr_print_current(conf->nick); scr_print_current("\x02 "); scr_print_current(arg1); scr_eol_current(); -- cgit v1.2.3