diff --git a/exec/load/ircd_unreg.js b/exec/load/ircd_unreg.js index 596db1ce33b12cee896b2af88ec6e53309f97abb..784407610653871580a161427ba44bdf9b6999e8 100644 --- a/exec/load/ircd_unreg.js +++ b/exec/load/ircd_unreg.js @@ -200,14 +200,13 @@ function IRC_Unregistered_Commands(cmdline) { break; } } - if (parseInt(cmd[2]) < 2) { - if ( (!this_nline || - ( (this_nline.password == "*") && !this.outgoing - && !(this_nline.flags&NLINE_CHECK_QWKPASSWD) ) - ) && !qwk_slave) { + if ( (!this_nline || + ( (this_nline.password == "*") && !this.outgoing + && !(this_nline.flags&NLINE_CHECK_QWKPASSWD) ) + ) && !qwk_slave) { + if (parseInt(cmd[2]) < 2) { this.quit("UR Server not configured."); - return 0; - } + return 0; } // Take care of registration right now. Servers[cmd[1].toLowerCase()] = new IRC_Server();