diff options
| author | Curtis McEnroe | 2018-08-13 19:54:26 -0400 | 
|---|---|---|
| committer | Curtis McEnroe | 2018-08-13 19:54:26 -0400 | 
| commit | 1ca6974b64ab83ac14f709945318a27b2ca633bc (patch) | |
| tree | c98502b52ceeeec6eb7514133534015bbd268fce | |
| parent | e713e6a1620c8859b75b9d4f429d777caace8f87 (diff) | |
Don't ping self
| -rw-r--r-- | handle.c | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -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  | 
