From: Chris Porter Date: Thu, 16 Dec 2010 15:18:27 +0000 (+0000) Subject: Allow queries for cross-domain /SAY. X-Git-Url: https://jfr.im/git/irc/quakenet/qwebirc.git/commitdiff_plain/44c29df20335ed9621552f888dfa5901cd0780c6 Allow queries for cross-domain /SAY. --- diff --git a/js/ui/baseui.js b/js/ui/baseui.js index 958dd5e..86d980e 100644 --- a/js/ui/baseui.js +++ b/js/ui/baseui.js @@ -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; }