parent
304e8bf5b0
commit
36f4284e07
@ -176,6 +176,13 @@ Network.prototype.createWebIrc = function(client) {
|
|||||||
hostname: client.config.browser.hostname,
|
hostname: client.config.browser.hostname,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// https://ircv3.net/specs/extensions/webirc#options
|
||||||
|
if (client.config.browser.isSecure) {
|
||||||
|
webircObject.options = {
|
||||||
|
secure: true,
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
if (typeof Helper.config.webirc[this.host] === "function") {
|
if (typeof Helper.config.webirc[this.host] === "function") {
|
||||||
webircObject.password = null;
|
webircObject.password = null;
|
||||||
return Helper.config.webirc[this.host](webircObject, this);
|
return Helper.config.webirc[this.host](webircObject, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user