3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-29 06:02:39 +01:00

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"]
);
res.render('profile', {
'name': dbot.config.name,
'connection': connection,

View File

@ -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": {},