mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
include - in #hashtag
This commit is contained in:
parent
776bd6d7d6
commit
ba393020b2
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user