Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
prawnsalad committed Feb 26, 2020
1 parent 86b7fb2 commit 54789d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ module.exports = class IrcClient extends EventEmitter {
sendMessage(commandName, target, message) {
let lines = message
.split(/\r\n|\n|\r/)
.filter(i=>i);
.filter(i => i);

lines.forEach(line => {
// Maximum length of target + message we can send to the IRC server is 500 characters
Expand Down

0 comments on commit 54789d5

Please sign in to comment.