lib/irc: remove unnecessary non-breaking-space case
Handled by the default case already.
This commit is contained in:
@@ -270,8 +270,6 @@ function isWordBoundary(ch) {
|
|||||||
case "_":
|
case "_":
|
||||||
case "|":
|
case "|":
|
||||||
return false;
|
return false;
|
||||||
case "\u00A0":
|
|
||||||
return true;
|
|
||||||
default:
|
default:
|
||||||
return !alphaNum.test(ch);
|
return !alphaNum.test(ch);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user