]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Fix stupid typo that broke queries.
authorChris Porter <redacted>
Mon, 2 Feb 2009 02:36:13 +0000 (02:36 +0000)
committerChris Porter <redacted>
Mon, 2 Feb 2009 02:36:13 +0000 (02:36 +0000)
js/irc/commandparser.js

index 8e591ab471f72ab47f9194612b8311e228d45e3a..d35d9485a69b4c47c5725de48f2b5f3f4d615faf 100644 (file)
@@ -77,7 +77,7 @@ qwebirc.irc.BaseCommandParser = new Class({
       var fn = cmdopts[3];
       
       var w = this.getActiveWindow();
-      if(activewin && (w.type != qwebirc.ui.WINDOW_CHANNEL && window.type != qwebirc.ui.WINDOW_QUERY)) {
+      if(activewin && ((w.type != qwebirc.ui.WINDOW_CHANNEL) && (w.type != qwebirc.ui.WINDOW_QUERY))) {
         w.errorMessage("Can't use this command in this window");
         return;
       }