Skip to content

Commit

Permalink
Fix part() not processing channel name
Browse files Browse the repository at this point in the history
  • Loading branch information
a-random-lemurian committed Nov 29, 2023
1 parent 3904ae7 commit 09843c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ class Client extends ClientBase {
});
}
part(channel) {
channel = _.channel()

Check failure on line 133 in lib/Client.js

View workflow job for this annotation

GitHub Actions / ESLint

Missing semicolon
return this._sendCommand({ delay: null, channel: null, command: `PART ${channel}` }, (res, rej) =>
this.once('_promisePart', err => !err ? res([ _.channel(channel) ]) : rej(err))
);
Expand Down

0 comments on commit 09843c2

Please sign in to comment.