From ba393020b2a69b0830f104b7d4d24eb60c4d4e83 Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 21 Jul 2014 08:56:57 +0000 Subject: [PATCH] include - in #hashtag --- modules/report/report.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/report/report.js b/modules/report/report.js index 7a884c2..94f634e 100644 --- a/modules/report/report.js +++ b/modules/report/report.js @@ -32,7 +32,7 @@ var report = function(dbot) { channel + "\u000f"; } - message = message.replace(/(#\w+)/g, '\u000312$1\u000f'); + message = message.replace(/(#[\w\-]+)/g, '\u000312$1\u000f'); _.each(message.match(/ @([\d\w*|-]+)/g), function(u) { u = u.substr(1);