Only tabTouch nick if not self
parent
a64f1a4ea2
commit
05fe4ece20
4
handle.c
4
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, " ");
|
||||
|
|
Loading…
Reference in New Issue