From fec5e51d78ac3b8fc747b9b1dabe8cf14ceaf306 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 11 Aug 2018 12:50:56 -0400 Subject: Fix isSelf user checking Other users with the same username are not self. The fun effect of this was that I could tab-complete "june_" but not "june". --- handle.c | 1 - 1 file changed, 1 deletion(-) diff --git a/handle.c b/handle.c index faf44aa..29b354c 100644 --- a/handle.c +++ b/handle.c @@ -76,7 +76,6 @@ static void shift( static bool isSelf(const char *nick, const char *user) { if (!user) return false; - if (!strcmp(user, self.user)) return true; if (!strcmp(nick, self.nick)) { if (strcmp(user, self.user)) selfUser(user); return true; -- cgit 1.4.1-2-gfad0