From 05fe4ece20a8333d91850b812a6d8bdc45726ae4 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 9 Aug 2018 15:50:30 -0400 Subject: Only tabTouch nick if not self --- handle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'handle.c') diff --git a/handle.c b/handle.c index f6b3e5d..4389ff8 100644 --- a/handle.c +++ b/handle.c @@ -223,10 +223,10 @@ static void handlePrivmsg(char *prefix, char *params) { char *user = prift(&prefix); shift(¶ms); char *mesg = shift(¶ms); - tabTouch(nick); - urlScan(mesg); bool self = !strcmp(user, chat.user); bool ping = !strncasecmp(mesg, chat.nick, strlen(chat.nick)); + if (!self) tabTouch(nick); + urlScan(mesg); if (ping) uiBeep(); if (mesg[0] == '\1') { strsep(&mesg, " "); -- cgit 1.4.1 er IRC client
summary refs log tree commit diff
path: root/config.c (unfollow)
Commit message (Expand)Author
2020-02-10Invalidate title on uiShowJune McEnroe
2020-02-10Only write out title if it has changedJune McEnroe
2020-02-10Only write out title on uiDrawJune McEnroe
2020-02-10Manually raise SIGINT from C-cJune McEnroe
2020-02-10Split on <> in colorMentionsJune McEnroe
2020-02-10Replace alignment tabs with spaces in bufferListJune McEnroe
2020-02-10Add C-o as alias of M-/June McEnroe
2020-02-10Only automatically switch to expected joinsJune McEnroe
2020-02-10Delegate to commandPrivmsg from commandMsgJune McEnroe
2020-02-10Synthesize a QUIT message to handle on exitJune McEnroe
2020-02-10Factor out XDG base directory codeJune McEnroe
2020-02-10Leave a blank line after loaded bufferJune McEnroe
2020-02-10Add -s to save and load buffersJune McEnroe
2020-02-10Show heat and other unread in titleJune McEnroe
2020-02-10Eliminate array in hashJune McEnroe
2020-02-10Add -HJune McEnroe
2020-02-10Hash to colors in the range 2-75June McEnroe
2020-02-10Improve color fudgingJune McEnroe
2020-02-10Support all 99 IRC colorsJune McEnroe
2020-02-10Avoid coloring mentions if there are control codesJune McEnroe
2020-02-10Recalculate unreadLines on reflowJune McEnroe
2020-02-10Only make windows hotterJune McEnroe
2020-02-10Always increase unreadLinesJune McEnroe
2020-02-10Move scroll marker on resizeJune McEnroe
2020-02-10Update line count for words longer than linesJune McEnroe
2020-02-10Simplify mark, heat, unread trackingJune McEnroe
2020-02-10Update prompt when own nick changesJune McEnroe
2020-02-10Match URLs surrounded by parenthesesJune McEnroe
2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe
2020-02-09Add M-lJune McEnroe
2020-02-09Add /whoisJune McEnroe
2020-02-09Add /msgJune McEnroe