Comparing version 0.0.9 to 0.0.10
@@ -578,3 +578,3 @@ var bunyan = require("bunyan"); | ||
message.tags["message-type"]["message-type"] = "action"; | ||
self.emit("message", message.params[0], message.tags, message.params[1].match(/^\u0001ACTION ([^\u0001]+)\u0001$/)[1], false); | ||
self.emit("message", message.args[0], message.tags, message.args[1].match(/^\u0001ACTION ([^\u0001]+)\u0001$/)[1], false); | ||
} | ||
@@ -587,3 +587,3 @@ // Message is a regular message.. | ||
message.tags["message-type"] = "chat"; | ||
self.emit("message", message.params[0], message.tags, message.params[1], false); | ||
self.emit("message", message.args[0], message.tags, message.args[1], false); | ||
} | ||
@@ -590,0 +590,0 @@ break; |
@@ -18,3 +18,3 @@ var toNumber = require("underscore.string/toNumber"), | ||
function normalizeChannel(name) { | ||
return "#" + ltrim(name, "#"); | ||
return "#" + ltrim(name.toLoweCase(), "#"); | ||
} | ||
@@ -24,3 +24,3 @@ | ||
function normalizeUsername(username) { | ||
return ltrim(username, "#"); | ||
return ltrim(username.toLoweCase(), "#"); | ||
} | ||
@@ -27,0 +27,0 @@ |
{ | ||
"name": "tmi.js", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "Javascript library for the Twitch Messaging Interface.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
62951