diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-02 22:03:10 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-02 22:03:10 -0500 |
| commit | dc6297d5df43f87d1ed2ea1b5c1f5a5193ec235a (patch) | |
| tree | 74d28b3aa042a2fb0e5ed5b774db869325da7bda /src/cmd.c | |
| parent | ba295fcffbd353e45297bbeec96f681bb4f2e00e (diff) | |
| download | fujinet-chat-dc6297d5df43f87d1ed2ea1b5c1f5a5193ec235a.tar.gz | |
Fix "nick already in use" and permutation.
Diffstat (limited to 'src/cmd.c')
| -rw-r--r-- | src/cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,9 +25,8 @@ static void cmd_chan_text(void) { scr_print_active("/"); scr_print_active(target); } - scr_print_active(" "); + scr_print_active("> "); scr_print_active(command); - scr_print_active(">"); scr_eol_active(); txbuf_set_str("PRIVMSG "); @@ -54,5 +53,6 @@ void cmd_command(const char *cmd) { } void cmd_execute(void) { + if(!*edit_box) return; cmd_command(edit_box); } |
