From a721d82e76089beb4be20fd5ae4405655e38947a Mon Sep 17 00:00:00 2001 From: reality Date: Sun, 20 Oct 2013 17:50:19 +0000 Subject: [PATCH] the thing the thing --- modules/users/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/users/commands.js b/modules/users/commands.js index 9d3cf0f..4a3f749 100644 --- a/modules/users/commands.js +++ b/modules/users/commands.js @@ -54,7 +54,7 @@ var commands = function(dbot) { }, '~time': function(event) { - var nick = event.input[1]; + var nick = event.params[1].trim(); this.api.resolveUser(event.server, nick, function(user) { if(user) { if(user.timezone) {