},
updateNickList: function(nicks) {
},
- updateTopic: function(topic) {
+ updateTopic: function(topic, element) {
+ qwebirc.ui.Colourise("[" + topic + "]", element, this.client.exec, this.parentObject.urlDispatcher.bind(this.parentObject));
},
close: function() {
if($defined(this.scrolltimer)) {
});
},
updateTopic: function(topic) {
- this.parent(topic);
-
var t = this.topic;
while(t.firstChild)
t.removeChild(t.firstChild);
if(topic) {
- qwebirc.ui.Colourise("[" + topic + "]", t);
+ this.parent(topic, t);
} else {
var e = new Element("div");
e.set("text", "(no topic set)");
qwebirc.ui.urlificate = function(element, text, execfn, cmdfn) {
- var punct_re = /(\.*|\,|;)$/;
+ var punct_re = /(\.*|\,|;|\])$/;
var txtprocess = function(text, regex, appendfn, matchfn) {
for(;;) {