diff --git a/modules/profile/pages.js b/modules/profile/pages.js index 5217110..3deeb51 100644 --- a/modules/profile/pages.js +++ b/modules/profile/pages.js @@ -14,8 +14,6 @@ var pages = function(dbot) { "lines", "words", "lincent", "wpl", "in_mentions"] ); - - res.render('profile', { 'name': dbot.config.name, 'connection': connection, diff --git a/modules/profile/profile.js b/modules/profile/profile.js index 4c991b4..c1dc2cb 100644 --- a/modules/profile/profile.js +++ b/modules/profile/profile.js @@ -19,6 +19,7 @@ var profile = function(dbot) { _.each(server, function(userName){ var primary = userName; userName = userName.toLowerCase(); + // TODO why isn't this calling the profile create API function if(!_.has(dbot.db.profiles[serverName], userName)){ dbot.db.profiles[serverName][userName] = { "profile": {},