mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
parent
1064c4a47b
commit
38a341de95
1 changed files with 1 additions and 1 deletions
|
@ -691,7 +691,7 @@ function addUser(id, name) {
|
|||
function delUser(id, name) {
|
||||
if(!name)
|
||||
name = null;
|
||||
if(!id in users)
|
||||
if(!(id in users))
|
||||
throw new Error('Unknown user id');
|
||||
if(users[id] !== name)
|
||||
throw new Error('Inconsistent user name');
|
||||
|
|
Loading…
Reference in a new issue