aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-18 01:43:59 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-18 01:43:59 -0400
commit2ae01c91c28ea8ce05266d1e121438af140b870f (patch)
treedb3ebe87c6bd87a90a6f1f3d37e5e5e90ef1bd71
parente5bb988ecc49c14f24f453113a4fd908e4172d82 (diff)
downloadfujinet-chat-2ae01c91c28ea8ce05266d1e121438af140b870f.tar.gz
Channel nick-complete includes join messages.
-rw-r--r--src/complete.c4
-rw-r--r--src/irc.c1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/complete.c b/src/complete.c
index 130a015..d168398 100644
--- a/src/complete.c
+++ b/src/complete.c
@@ -65,8 +65,8 @@ char match(const char *p, const char *q) {
void scrape_nick(char *p) {
char i;
- if(*p == '<' || *p == 0xbc) {
- /* normal or inverse < in column 0 is a nick */
+ if(*p == '<' || *p == 0xbc || *p == 0xbd) {
+ /* normal or inverse <, or inverse =, in column 0 is a nick */
p++;
} else if(*p == '*' && p[1] == ' ') {
p += 2; /* /me action, skip the "* " */
diff --git a/src/irc.c b/src/irc.c
index 4a69784..daa91bd 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -260,6 +260,7 @@ static void do_join(void) {
if(streq_i(conf->nick, msg_src)) {
scr_print_active("You have ");
} else {
+ scr_print_active("\x02=\x02");
scr_print_active(msg_src);
scr_print_active(" has ");
}