From e97117362f4660bf73976f994a4b59b6ba794f55 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Sat, 9 May 2015 15:43:00 +0200 Subject: [PATCH] Fix user chat check --- scripts/meta.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/meta.coffee b/scripts/meta.coffee index ececcd4..81cb4d9 100644 --- a/scripts/meta.coffee +++ b/scripts/meta.coffee @@ -29,7 +29,7 @@ module.exports = (robot) -> results = listeners() unless message.done or (results.reduce (x, y) -> x or y) - if message.room == message.user + if message.room == message.user.name message.text = robot.name + ' ' + message.text results.push listeners()... if message not instanceof CatchAllMessage and (results.indexOf true) is -1