From 221b1b635663cf2013778a549b0cbf0bb8da74f5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 25 Feb 2022 11:37:18 +0100 Subject: [PATCH] lib/irc: remove unnecessary non-breaking-space case Handled by the default case already. --- lib/irc.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/irc.js b/lib/irc.js index 82359a1..2dfe737 100644 --- a/lib/irc.js +++ b/lib/irc.js @@ -270,8 +270,6 @@ function isWordBoundary(ch) { case "_": case "|": return false; - case "\u00A0": - return true; default: return !alphaNum.test(ch); }