notes im just commiting for something else

This commit is contained in:
reality 2013-01-25 00:45:45 +00:00
parent 687f35d51c
commit 9d5785d41e
2 changed files with 1 additions and 2 deletions

View File

@ -14,8 +14,6 @@ var pages = function(dbot) {
"lines", "words", "lincent", "wpl", "in_mentions"] "lines", "words", "lincent", "wpl", "in_mentions"]
); );
res.render('profile', { res.render('profile', {
'name': dbot.config.name, 'name': dbot.config.name,
'connection': connection, 'connection': connection,

View File

@ -19,6 +19,7 @@ var profile = function(dbot) {
_.each(server, function(userName){ _.each(server, function(userName){
var primary = userName; var primary = userName;
userName = userName.toLowerCase(); userName = userName.toLowerCase();
// TODO why isn't this calling the profile create API function
if(!_.has(dbot.db.profiles[serverName], userName)){ if(!_.has(dbot.db.profiles[serverName], userName)){
dbot.db.profiles[serverName][userName] = { dbot.db.profiles[serverName][userName] = {
"profile": {}, "profile": {},