Skip to content

Commit a7fef54

Browse files
committed
Parsing isupport tokens with multiple '=' correctly
1 parent 1b9263e commit a7fef54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/handlers/registration.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var handlers = {
4343
var j;
4444

4545
for (i = 1; i < options.length; i++) {
46-
option = options[i].split('=', 2);
46+
option = Helpers.splitOnce(options[i], '=');
4747
option[0] = option[0].toUpperCase();
4848

4949
this.network.options[option[0]] = (typeof option[1] !== 'undefined') ? option[1] : true;

0 commit comments

Comments
 (0)