]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/qwebircinterface.js
Fix various leaks to the global scope.
[irc/quakenet/qwebirc.git] / js / qwebircinterface.js
index 90673f8af2ca315435ab4c20081316642454615d..82b8be81306a8fc90168fb4beb011deb8f76f906 100644 (file)
@@ -49,7 +49,7 @@ qwebirc.ui.Interface = new Class({
             chans = cdata[0].split(",");
             var chans2 = [];
           
-            for(i=0;i<chans.length;i++) {
+            for(var i=0;i<chans.length;i++) {
               chans2[i] = chans[i];
             
               if(chans[i].charAt(0) != '#')