+qwebirc.ui.QuakeNetUI = new Class({
+ Extends: qwebirc.ui.StandardUI,
+ urlDispatcher: function(name, window) {
+ if(name == "qwhois") {
+ return ["a", function(auth) {
+ this.client.exec("/MSG Q whois #" + auth);
+ }.bind(window)];
+ }
+ if(name == "whois") {
+ return ["span", function(nick) {
+ this.client.exec("/WHOIS " + nick);
+ }.bind(window)];
+ }
+
+ return this.parent(name);
+ }
+});
+
+qwebirc.ui.NewLoginUI = new Class({
+ Extends: qwebirc.ui.QuakeNetUI,