]> jfr.im git - irc/quakenet/qwebirc.git/blobdiff - js/ui/baseui.js
Seems as if some people haven't figured out how to activate debugging mode yet -...
[irc/quakenet/qwebirc.git] / js / ui / baseui.js
index ee9b7bdc2f8c134bb3fe6d36f3535613ff3385a5..c44fe99daccbf075b1ac43ec73c607db0ccb9c5f 100644 (file)
@@ -322,8 +322,12 @@ qwebirc.ui.StandardUI = new Class({
     /* doesn't really belong here */
     if(name == "whois") {
       return ["span", function(nick) {
-        this.client.exec("/WHOIS " + nick);
-      }.bind(window)];
+        if(this.uiOptions.QUERY_ON_NICK_CLICK) {
+          window.client.exec("/QUERY " + nick);
+        } else {
+          window.client.exec("/WHOIS " + nick);
+        }
+      }.bind(this)];
     }
 
     return null;