This commit is contained in:
reality 2015-04-02 18:41:38 +00:00
parent 8bdb11e9e1
commit c873d4888d

View File

@ -43,7 +43,7 @@ var commands = function(dbot){
},
'~time': function(event) {
dbot.api.users.getProfile(event.server, event.params[1], function(err, user, profile) {
dbot.api.profile.getProfile(event.server, event.params[1], function(err, user, profile) {
if(!err) {
var tz = profile.profile.timezome;
if(tz) {