Correctly interpret value for addSpace

It's a string 'on' not a boolean
This commit is contained in:
Jeremy Mahieu 2019-12-09 01:07:03 +01:00
parent 5c401b6923
commit 62b12dd836

View File

@ -119,7 +119,7 @@ IrcUtils.service('IrcUtils', [function() {
suf = ':'; suf = ':';
} }
// addSpace defaults to true // addSpace defaults to true
var addSpaceChar = (addSpace === undefined || addSpace === true) ? ' ' : ''; var addSpaceChar = (addSpace === undefined || addSpace === 'on') ? ' ' : '';
// new nick list to search in // new nick list to search in
var searchNickList = _ciNickList(nickList); var searchNickList = _ciNickList(nickList);