Fix edge case of emotes directly succeeding one another in a message

This commit is contained in:
calzoneman 2014-03-27 11:03:27 -05:00
parent de145d00c7
commit 43be6402a0
2 changed files with 2 additions and 2 deletions

View file

@ -2323,7 +2323,7 @@ function execEmotes(msg) {
CHANNEL.emotes.forEach(function (e) {
msg = msg.replace(e.regex, '$1<img class="channel-emote" src="' +
e.image + '" title="' + e.name + '">$2');
e.image + '" title="' + e.name + '">');
});
return msg;