diff --git a/modules/users/users.js b/modules/users/users.js index 62dad13..7468f6f 100644 --- a/modules/users/users.js +++ b/modules/users/users.js @@ -60,7 +60,7 @@ var users = function(dbot) { // Replace users entry with new primary user var usersIndex = knownUsers.users.indexOf(newAlias); - knownUsers.splice(usersIndex, 1); + knownUsers.users.splice(usersIndex, 1); knownUsers.users.push(newParent); // Remove alias for new parent & add alias for new alias