/* 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;
get: function(value, ui) {
ui.setModifiableStylesheetValues(value, 0, 0);
}
- }]
+ }],
+ [12, "QUERY_ON_NICK_CLICK", "Query on nickname click in channel", false]
];
qwebirc.config.DefaultOptions = null;