CIRCChannel.onTopic Member

user changed topic

Syntax

object.onTopic(e);

Arguments

ArgumentSummary
e

Returns

Remarks

See Also

Source Code

function my_topic (e)
{
client.munger.getRule(".mailto").enabled = client.prefs["munger.mailto"];
if (e.code == "TOPIC")
this.display (getMsg(MSG_TOPIC_CHANGED, [this.topicBy, this.topic]),
"TOPIC");
if (e.code == "332")
{
if (this.topic)
{
this.display (getMsg(MSG_TOPIC,
[this.unicodeName, this.topic]),
"TOPIC");
}
else
{
this.display (getMsg(MSG_NO_TOPIC, this.unicodeName), "TOPIC");
}
}
this.updateHeader();
updateTitle(this);
client.munger.getRule(".mailto").enabled = false;
}