]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
fix nick messages appearing in status window
authorChris Porter <redacted>
Wed, 13 Aug 2014 21:29:27 +0000 (22:29 +0100)
committerChris Porter <redacted>
Wed, 13 Aug 2014 21:29:27 +0000 (22:29 +0100)
js/irc/ircclient.js

index d4254e4df2fcc90b1e512fe98195a86a56f2b9e0..6f73bdab198ba41cecbf7466168e37556efd13c9 100644 (file)
@@ -363,7 +363,7 @@ qwebirc.irc.IRCClient = new Class({
     var channels = this.tracker.getNick(newnick);
     if($defined(channels)) {
       channels.each(function (c) {
-        var found = true;
+        found = true;
 
         this.newChanLine(c, "NICK", user, {"w": newnick});
         this.updateNickList(c);
@@ -371,7 +371,7 @@ qwebirc.irc.IRCClient = new Class({
     }
 
     if(this.getQueryWindow(oldnick)) {
-      var found = true;
+      found = true;
       this.renameWindow(oldnick, newnick);
       this.newLine(newnick, "NICK", {"n": oldnick, "w": newnick});
     }