diff --git a/exec/irc.js b/exec/irc.js index 033f6b61c12afdc702b1fd6f8f76670a89a93e98..c58504cd939a3c2914b49db2d650ab4a54b939c0 100644 --- a/exec/irc.js +++ b/exec/irc.js @@ -668,6 +668,8 @@ function send_command(command,param) { sock.send("PRIVMSG "+send_to+" :\x01"+full_params+"\x01\r\n"); break; case "PART": + // If the user specifies a channel, this SHOULD part that channel, + // not the current one. channels.part(channels.current.name,param); break; case "N":