this.parentObject.newActiveLine("OUR" + type, extra);
return;
} else if(window.type == qwebirc.ui.WINDOW_CHANNEL) {
- type = "CHAN" + type;
+ this.parentObject.newChanLine(target, "OURCHAN" + type, null, extra);
+ return;
} else {
type = "PRIV" + type;
}
if(!extra)
extra = {};
- extra["n"] = user.hostToNick();
- extra["h"] = user.hostToHost();
+ if($defined(user)) {
+ extra["n"] = user.hostToNick();
+ extra["h"] = user.hostToHost();
+ }
extra["c"] = channel;
extra["-"] = this.nickname;
+ if(!(this.ui.uiOptions.NICK_OV_STATUS))
+ delete extra["@"];
+
this.newLine(channel, type, extra);
},
newServerLine: function(type, data) {
}],
[2, "DEDICATED_MSG_WINDOW", "Send privmsgs to dedicated messages window", false],
[4, "DEDICATED_NOTICE_WINDOW", "Send notices to dedicated message window", false],
- [3, "NICK_OV_STATUS", "Show status (@/+) before nicknames in nicklist", true],
+ [3, "NICK_OV_STATUS", "Show status (@/+) before nicknames in channel lines", true],
[5, "ACCEPT_SERVICE_INVITES", "Automatically join channels when invited by Q", true],
[6, "USE_HIDDENHOST", "Hide your hostmask when authed to Q (+x)", true],
[8, "LASTPOS_LINE", "Show a last position indicator for each window", true, {