forked from GitHub/dbot
correct missing channel users
This commit is contained in:
parent
08f35f90f8
commit
03f58bf906
@ -10,6 +10,9 @@ var users = function(dbot) {
|
|||||||
if(!knownUsers.hasOwnProperty(server)) {
|
if(!knownUsers.hasOwnProperty(server)) {
|
||||||
knownUsers[server] = { 'users': [], 'aliases': {}, 'channelUsers': {} };
|
knownUsers[server] = { 'users': [], 'aliases': {}, 'channelUsers': {} };
|
||||||
}
|
}
|
||||||
|
if(!knownUsers[server].hasOwnProperty('channelUsers')) {
|
||||||
|
knownUsers[server].channelUsers = {};
|
||||||
|
}
|
||||||
return knownUsers[server];
|
return knownUsers[server];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user