Skip to content

Commit e2308fc

Browse files
committed
Switch around raw params for invite
1 parent 05ebaba commit e2308fc

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
@@ -493,7 +493,7 @@ module.exports = class IrcClient extends EventEmitter {
493493
}
494494

495495
invite(channel, nick) {
496-
const raw = ['INVITE', channel, nick];
496+
const raw = ['INVITE', nick, channel];
497497
this.raw(raw);
498498
}
499499

0 commit comments

Comments
 (0)