forked from GitHub/dbot
notes im just commiting for something else
This commit is contained in:
parent
687f35d51c
commit
9d5785d41e
@ -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,
|
||||||
|
@ -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": {},
|
||||||
|
Loading…
Reference in New Issue
Block a user