Skip to content

Commit

Permalink
Merge blacklist commit with upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaykul committed Sep 16, 2017
2 parents b36a7e4 + 32d349d commit f227554
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Bot.prototype.listen = function () {

// remove slack code block symbols
var text = message.getBody();
// Note: opted NOT to remove single backticks `
// Note: opted NOT to remove single backticks `
text = text.replace(/[\r\n\s]*```[\r\n\s]*(.*)[\r\n\s]*```[\r\n\s]*/,"\n$1\n")
text = text.replace(/```(.*)```/," $1 ")

Expand Down Expand Up @@ -270,7 +270,7 @@ Bot.prototype.ircSpeak = function (channel, message, username) {
message = self.entities.decode(message)
message = self.prepareMessage(message)

// IRC max length is 512, minus the CR LF and other headers ...
// IRC max length is 512, minus the CR LF and other headers ...
// In practice, it looks like this:
// :Nick!Ident@Host PRIVMSG #Powershell :Your Message Here
//
Expand Down

0 comments on commit f227554

Please sign in to comment.