From 62b12dd836b24ad5b88819ede09af49c0e945789 Mon Sep 17 00:00:00 2001 From: Jeremy Mahieu Date: Mon, 9 Dec 2019 01:07:03 +0100 Subject: [PATCH] Correctly interpret value for addSpace It's a string 'on' not a boolean --- js/irc-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/irc-utils.js b/js/irc-utils.js index 78c207f..8acde89 100644 --- a/js/irc-utils.js +++ b/js/irc-utils.js @@ -119,7 +119,7 @@ IrcUtils.service('IrcUtils', [function() { suf = ':'; } // addSpace defaults to true - var addSpaceChar = (addSpace === undefined || addSpace === true) ? ' ' : ''; + var addSpaceChar = (addSpace === undefined || addSpace === 'on') ? ' ' : ''; // new nick list to search in var searchNickList = _ciNickList(nickList);