Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Commit

Permalink
Merge pull request #25 from fntsrlike/issue-24
Browse files Browse the repository at this point in the history
Fix #24
Getting "<Not string type message>" while sending messages from Slack to IRC.
  • Loading branch information
M157q authored Jan 4, 2017
2 parents be8e866 + efa5b07 commit 2c135ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/slack-msg-decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var SlackMsgDecoder = function(message) {
return new SlackMsgDecoder(message);
}

if (typeof this.message == "string") {
if (typeof message == "string") {
this.message = message;
}
else {
Expand Down

0 comments on commit 2c135ee

Please sign in to comment.