Permalink
Browse files

Fixed bug in deleting webusers on server side.

  • Loading branch information...
1 parent fa96c9f commit 5f468f231f1735f4a097c56ab7b7a737af2d5c3d Paul Maxan committed Apr 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 irc.js
View
2 irc.js
@@ -128,7 +128,7 @@ var appProcessor = function (action, client, msg, socket) {
case "deleteWebUsers":
for (var i = 0; i < webUsers.length; i++) {
if (webUsers[i] == msg.data) {
- webUsers.slice(i,1);
+ webUsers.splice(i,1);
webUsersIsDirty = true;
break;
}

0 comments on commit 5f468f2

Please sign in to comment.