From 58ef784a1ee32d3b450addaee8564620813b141b Mon Sep 17 00:00:00 2001 From: reality Date: Thu, 2 Apr 2015 18:44:37 +0000 Subject: [PATCH] m is not n --- modules/profile/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/profile/commands.js b/modules/profile/commands.js index 984f203..6d702d6 100644 --- a/modules/profile/commands.js +++ b/modules/profile/commands.js @@ -45,7 +45,7 @@ var commands = function(dbot){ '~time': function(event) { dbot.api.profile.getProfile(event.server, event.params[1], function(err, user, profile) { if(!err) { - var tz = profile.profile.timezome; + var tz = profile.profile.timezone; if(tz) { event.reply('The time for ' + event.params[1] + ' is ' + moment().tz(tz).format('HH:mm:ss on DD/MM/YYYY')); } else {