diff --git a/scripts/meta.coffee b/scripts/meta.coffee index ace4fd5..ececcd4 100644 --- a/scripts/meta.coffee +++ b/scripts/meta.coffee @@ -29,10 +29,10 @@ module.exports = (robot) -> results = listeners() unless message.done or (results.reduce (x, y) -> x or y) - if message.room is 'Shell' or message.room.match /user#/ + if message.room == message.user message.text = robot.name + ' ' + message.text results.push listeners()... if message not instanceof CatchAllMessage and (results.indexOf true) is -1 robot.receive new CatchAllMessage message - robot.receive = receive \ No newline at end of file + robot.receive = receive