diff --git a/exec/ircd.js b/exec/ircd.js index 37d6483e2496234832218ac84062c89bd2b8d289..87a0a8c6f1ce8d7363a69e3d86596bd945ef3c1e 100644 --- a/exec/ircd.js +++ b/exec/ircd.js @@ -1074,7 +1074,6 @@ function Queue_Recv(sock) { this._recv_bytes = this._recv_bytes.substr(pos+1); if (cmd[cmd.length-1] == '\r') cmd = cmd.substr(0, cmd.length - 1); -log(LOG_DEBUG, "Adding "+cmd); this.add(cmd); } } diff --git a/exec/load/ircd_unreg.js b/exec/load/ircd_unreg.js index 92111010f3996e975c854f47dea29b5c83501b4b..596db1ce33b12cee896b2af88ec6e53309f97abb 100644 --- a/exec/load/ircd_unreg.js +++ b/exec/load/ircd_unreg.js @@ -200,12 +200,14 @@ function IRC_Unregistered_Commands(cmdline) { break; } } - if ( (!this_nline || - ( (this_nline.password == "*") && !this.outgoing - && !(this_nline.flags&NLINE_CHECK_QWKPASSWD) ) - ) && !qwk_slave) { - this.quit("UR Server not configured."); - return 0; + if (parseInt(cmd[2]) < 2) { + if ( (!this_nline || + ( (this_nline.password == "*") && !this.outgoing + && !(this_nline.flags&NLINE_CHECK_QWKPASSWD) ) + ) && !qwk_slave) { + this.quit("UR Server not configured."); + return 0; + } } // Take care of registration right now. Servers[cmd[1].toLowerCase()] = new IRC_Server(); diff --git a/exec/load/ircd_user.js b/exec/load/ircd_user.js index 928e628cc3db76bea7bfc1d0f4b1261064496a6c..ff20a728e6cfe40d0897f5e87f91ff26f4145203 100644 --- a/exec/load/ircd_user.js +++ b/exec/load/ircd_user.js @@ -263,7 +263,6 @@ function User_Work(cmdline) { 2 seconds from now. */ if ( (time() - this.idletime) <= 2) { if (this.throttle_count >= 4) { -log(LOG_DEBUG, "Prepending "+cmdline); this.recvq.prepend(cmdline); return 0; }