diff --git a/exec/load/ircd_user.js b/exec/load/ircd_user.js index 53e50f10735ec2b916657cef133c6a7494264c53..35881aee179e14b2debf176fb34ec9713b96fd9c 100644 --- a/exec/load/ircd_user.js +++ b/exec/load/ircd_user.js @@ -949,7 +949,7 @@ function User_Work() { this.numeric(353,"* * :"+tmp); this.numeric(366, "* :End of /NAMES list."); } else { - chans = cmd[1].split(','); + var chans = cmd[1].split(','); for (nc in chans) { if ((chans[nc][0] == "#") || (chans[nc][0] == "&")) {