hirc

IRC client
Log | Files | Refs

commit 0c574f860ec243e36855f28096363780a6509388
parent 3ee16fa6bd5cb8760067b6f80c0c0d8cca636f5d
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 27 Mar 2022 21:31:31 +0100

Don't add completion.hchar to nick if not fully completed

Diffstat:
Msrc/ui.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui.c b/src/ui.c @@ -737,7 +737,7 @@ getcmd: pfree(&stem); if (found) { - if (ctok == 0) { + if (ctok == 0 && fullcomplete) { hchar = config_gets("completion.hchar"); len = strlen(found) + strlen(hchar) + 1; p = emalloc(len);