From f55f26c90298e7918139c6fdf06e3772f2b54895 Mon Sep 17 00:00:00 2001 From: Justin Campbell Date: Thu, 21 Feb 2013 17:55:12 -0500 Subject: [PATCH] Fix username in response --- src/scripts/whoisout.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/whoisout.coffee b/src/scripts/whoisout.coffee index e63846641..2f2196d1a 100644 --- a/src/scripts/whoisout.coffee +++ b/src/scripts/whoisout.coffee @@ -29,7 +29,7 @@ plugin = (robot)-> thisDate = plugin.parseDate msg.match[1]?.trim() if thisDate plugin.save robot, thisDate, msg.message - msg.send "ok, #{msg.user.name} is out on #{thisDate}" + msg.send "ok, #{msg.message.user.name} is out on #{thisDate}" else msg.send 'unable to save date'