Don't ping self

weechat-hashes
Curtis McEnroe 2018-08-13 19:54:26 -04:00
parent e713e6a162
commit 1ca6974b64
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ static void handlePrivmsg(char *prefix, char *params) {
if (!isSelf(nick, user)) tabTouch(tag, nick);
urlScan(tag, mesg);
bool self = isSelf(nick, user);
bool ping = isPing(mesg);
bool ping = !self && isPing(mesg);
uiFmt(
tag, "%c\3%d%c%s%c\17 %s",
ping["\17\26"], color(user), self["<("], nick, self[">)"], mesg