diff --git a/exec/load/ircd_server.js b/exec/load/ircd_server.js index 7579e9caa181ff364130a7431373cea6da822d6f..60d3f78089f18bf56321ebfdd19ddb1cc0b1b094 100644 --- a/exec/load/ircd_server.js +++ b/exec/load/ircd_server.js @@ -50,6 +50,7 @@ function IRC_Server() { this.parent = 0; this.info = ""; this.idletime = time(); + this.outgoing = false; // Variables (consts, really) that point to various state information this.socket = ""; this.type = BAHAMUT; /* Assume bahamut by default */ diff --git a/exec/load/ircd_unreg.js b/exec/load/ircd_unreg.js index 234919a1612153f74b6599b53f2ff35e26a56ade..240946f3555b9c64d82ba857be267e859cae283a 100644 --- a/exec/load/ircd_unreg.js +++ b/exec/load/ircd_unreg.js @@ -225,6 +225,8 @@ function IRC_Unregistered_Commands(cmdline) { new_server.hostname = this.hostname; new_server.recvq = this.recvq; new_server.sendq = this.sendq; + new_server.ircclass = this.ircclass; + new_server.outgoing = this.outgoing; if (!qwk_slave) { // qwk slaves should never be hubs. for (hl in HLines) { if (HLines[hl].servername.toLowerCase() @@ -393,6 +395,8 @@ function Unregistered_Welcome() { new_user.ircclass = my_iline.ircclass; new_user.sendq = this.sendq; new_user.recvq = this.recvq; + // Shouldn't be a thing... + new_user.outgoing = this.outgoing; hcc_counter++; this.numeric("001", ":Welcome to the Synchronet IRC Service, " + new_user.nuh); this.numeric("002", ":Your host is " + servername + ", running version " + VERSION); diff --git a/exec/load/ircd_user.js b/exec/load/ircd_user.js index 27900c1e034a76236ddc164889bbac14fbf6e45d..7ae184aa93eaa6086586b7eaebec264c3d9a30c2 100644 --- a/exec/load/ircd_user.js +++ b/exec/load/ircd_user.js @@ -148,6 +148,7 @@ function IRC_User(id) { this.uprefix = ""; this.id = id; this.throttle_count = 0; /* Number of commands executed within 2 secs */ + this.outgoing = false; // Variables (consts, really) that point to various state information this.socket = ""; ////////// FUNCTIONS