Fix log highlight

This commit is contained in:
Mattias Erming 2014-09-27 17:14:52 -07:00
parent 6c6e76afda
commit e4b4e0e065
3 changed files with 3 additions and 5 deletions

View File

@ -533,9 +533,6 @@ button {
padding-left: 10px;
padding-right: 6px;
}
#chat .wrap {
display: block;
}
#chat .wrap,
#chat .text a {
font-style: normal;

View File

@ -1,7 +1,7 @@
{
"name": "shout",
"description": "The self-hosted web IRC client",
"version": "0.38.2",
"version": "0.38.3",
"author": "Mattias Erming",
"preferGlobal": true,
"bin": {

View File

@ -19,7 +19,8 @@ module.exports = {
var time = moment().zone(tz).format(format);
var line = "[" + time + "] ";
if (msg.type == "message") {
var type = msg.type.trim();
if (type == "message" || type == "highlight") {
// Format:
// [2014-01-01 00:00:00] <Arnold> Put that cookie down.. Now!!
line += "<" + msg.from + "> " + msg.text;