mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
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"]
|
||||
);
|
||||
|
||||
|
||||
|
||||
res.render('profile', {
|
||||
'name': dbot.config.name,
|
||||
'connection': connection,
|
||||
|
@ -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": {},
|
||||
|
Loading…
Reference in New Issue
Block a user