diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-11 06:26:04 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-11 06:26:39 -0400 |
| commit | d92bf1f7cf76d0c678ccbaea10a5ff6d41630e52 (patch) | |
| tree | d890d17b83013c6f0a975f8431d478eff94f5542 /src/cmd.c | |
| parent | ea47f06b8fa0ebab649ea1f7b323246d7e482438 (diff) | |
| download | fujinet-chat-d92bf1f7cf76d0c678ccbaea10a5ff6d41630e52.tar.gz | |
Remove server/nick prompts from client, add a separate config tool that loads as an init segment, with lots more options.
Diffstat (limited to 'src/cmd.c')
| -rw-r--r-- | src/cmd.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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(); |
