Skip to content

Commit 7a8c0df

Browse files
authored
Merge pull request #255 from ItsOnlyBinary/invite-fix
Switch around raw params for invite
2 parents 05ebaba + e2308fc commit 7a8c0df

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)