From e3793956514946f4cde98a1b35658dea54dc45b0 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 15 May 2003 07:30:04 +0000 Subject: [PATCH] Don't send the user password to non vaporware JS IRC Servers Fix command-line parsing. --- exec/irc.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/exec/irc.js b/exec/irc.js index ba7ce0b87e..5447f27564 100644 --- a/exec/irc.js +++ b/exec/irc.js @@ -37,6 +37,7 @@ while(1) { case "-a": real_names=false; argv.shift(); + break; default: break LOOP; } @@ -63,7 +64,8 @@ if(!sock.connect(irc_server,irc_port)) { clean_exit(); } -sock.send("PASS "+user.security.password+"\r\n"); +// sock.send("PASS "+user.security.password+"\r\n"); // for futire use with JS IRC server +sock.send("PASS \r\n"); if (nick=="") nick=user.alias; nick=nick.replace(/\s+/g,"_"); -- GitLab