Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

splice vs. slice, fixed bug in handling webusers. #51

Merged
merged 1 commit into from

2 participants

@microp11
Collaborator

No description provided.

@chrismatthieu chrismatthieu merged commit fe8b1cc into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 22, 2012
  1. @microp11
This page is out of date. Refresh to see the latest.
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;
}
Something went wrong with that request. Please try again.