about summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-13 19:54:26 -0400
committerJune McEnroe <june@causal.agency>2018-08-13 19:54:26 -0400
commit1ca6974b64ab83ac14f709945318a27b2ca633bc (patch)
treec98502b52ceeeec6eb7514133534015bbd268fce /handle.c
parentImprove configuration of Makefile (diff)
downloadcatgirl-1ca6974b64ab83ac14f709945318a27b2ca633bc.tar.gz
catgirl-1ca6974b64ab83ac14f709945318a27b2ca633bc.zip
Don't ping self
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handle.c b/handle.c
index 22a4723..16a416c 100644
--- a/handle.c
+++ b/handle.c
@@ -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