diff 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(); |
