diff options
author | June McEnroe <june@causal.agency> | 2019-05-27 20:59:30 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-05-27 20:59:30 -0400 |
commit | 9bcf7f8cf6853f1e4d061d647fd0cc570c80c250 (patch) | |
tree | e453e6f02a5afcb7c2a3f8ef77a75424673a1edd /bin | |
parent | Add Dawn (diff) | |
download | src-9bcf7f8cf6853f1e4d061d647fd0cc570c80c250.tar.gz src-9bcf7f8cf6853f1e4d061d647fd0cc570c80c250.zip |
Break nicks with ZWNJ
This should prevent bad wrapping.
Diffstat (limited to '')
-rw-r--r-- | bin/relay.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/relay.c b/bin/relay.c index caf9062f..93330314 100644 --- a/bin/relay.c +++ b/bin/relay.c @@ -79,11 +79,11 @@ static void clientHandle(struct tls *client, const char *chan, char *line) { if (!strncmp(line, "\1ACTION ", 8)) { line = &line[8]; size_t len = strcspn(line, "\1"); - printf("* %c\u200B%s %.*s\n", nick[0], &nick[1], (int)len, line); + printf("* %c\u200C%s %.*s\n", nick[0], &nick[1], (int)len, line); } else if (command[0] == 'N') { - printf("-%c\u200B%s- %s\n", nick[0], &nick[1], line); + printf("-%c\u200C%s- %s\n", nick[0], &nick[1], line); } else { - printf("<%c\u200B%s> %s\n", nick[0], &nick[1], line); + printf("<%c\u200C%s> %s\n", nick[0], &nick[1], line); } } |