Merge pull request #1087 from AStove/FixBugAddSpace

Correctly interpret value for addSpace
This commit is contained in:
Lorenz Hübschle-Schneider 2019-12-09 10:55:10 +01:00 committed by GitHub
commit 6f3930174c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);