diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-06 21:55:26 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-06 21:55:26 -0500 |
| commit | c01927e51c44208722740666f20feabb2cd683d3 (patch) | |
| tree | 17ccd927abc5d6bb8dcdcc19d9109f065dcf365c /src | |
| parent | 2855154aef5e0e05b5243e6308607fca2d170224 (diff) | |
| download | fujinet-chat-c01927e51c44208722740666f20feabb2cd683d3.tar.gz | |
Fix /nick (thanks, The_Doctor__).
Diffstat (limited to 'src')
| -rw-r--r-- | src/irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -110,7 +110,7 @@ static void do_join(void) { static void do_nick(void) { if(streq_i(usernick, msg_src)) { scr_print_active("You are "); - strncpy(usernick, msg_src, 32); + strncpy(usernick, msg_dest, 32); } else { scr_print_active(msg_src); scr_print_active(" is "); |
