]> jfr.im git - irc/quakenet/qwebirc.git/commitdiff
Allow queries for cross-domain /SAY.
authorChris Porter <redacted>
Thu, 16 Dec 2010 15:18:27 +0000 (15:18 +0000)
committerChris Porter <redacted>
Thu, 16 Dec 2010 15:18:27 +0000 (15:18 +0000)
js/ui/baseui.js

index 958dd5e339e8de99fd5df8a7355e8235ce42bb84..86d980ed8b01ae044e01ffc1bd2c5f6a9a5a7f04 100644 (file)
@@ -205,7 +205,7 @@ qwebirc.ui.BaseUI = new Class({
     var args = d[1];
     if(command == "SAY") {
       var w = this.getActiveIRCWindow();
-      if($defined(w) && w.type == qwebirc.ui.WINDOW_CHANNEL) {
+      if($defined(w) && (w.type == qwebirc.ui.WINDOW_CHANNEL || w.type == qwebirc.ui.WINDOW_QUERY)) {
         w.client.exec("/SAY " + args);
         return;
       }