the thing the thing

This commit is contained in:
reality 2013-10-20 17:50:19 +00:00
parent 5a3b936aff
commit a721d82e76

View File

@ -54,7 +54,7 @@ var commands = function(dbot) {
}, },
'~time': function(event) { '~time': function(event) {
var nick = event.input[1]; var nick = event.params[1].trim();
this.api.resolveUser(event.server, nick, function(user) { this.api.resolveUser(event.server, nick, function(user) {
if(user) { if(user) {
if(user.timezone) { if(user.timezone) {