Skip to content

Commit c02220d

Browse files
committed
Passing .list() args to the server fix
1 parent 787d256 commit c02220d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ IrcClient.prototype.processNextWhoQueue = function() {
553553
* Explicitely start a channel list, avoiding potential issues with broken IRC servers not sending RPL_LISTSTART
554554
*/
555555
IrcClient.prototype.list = function(/* paramN */) {
556-
var args = Array.prototype.slice(arguments, 0);
556+
var args = Array.prototype.slice.call(arguments);
557557
this.command_handler.cache('chanlist').channels = [];
558558
args.unshift('LIST');
559559
this.raw(args);

0 commit comments

Comments
 (0)