fix profile config pointers

This commit is contained in:
reality 2013-06-13 18:59:14 +00:00
parent 9093a69907
commit b201c1aaad

View File

@ -12,8 +12,8 @@ var api = function(dbot) {
if(user){
this.db.create('profiles', user.id, {
'id': user.id,
'profile': dbot.config.profile.schema.profile,
'preferences': dbot.config.profile.schema.preferences
'profile': this.config.schema.profile,
'preferences': this.config.schema.preferences
}, function(err, result){
if(err){
console.log(err);