diff --git a/exec/irc.js b/exec/irc.js
index c58504cd939a3c2914b49db2d650ab4a54b939c0..da6250bbe34c8db38deab645fde7836f6dc8fce1 100644
--- a/exec/irc.js
+++ b/exec/irc.js
@@ -344,6 +344,7 @@ function handle_command(prefix,command,message)  {
 		// <word1> <word2> <word3> <word4> :Message
 		case "311":		// WHOIS reply
 		case "314":		// WHOWAS reply
+		case "317":		// WHOISIDLE Reply
 		case "200":		// Trace Link
 		case "243":		// Stats OLINE
 		case "244":		// Stats HLINE
@@ -377,7 +378,6 @@ function handle_command(prefix,command,message)  {
 
 		// <word1> <word2> :Message
 		case "312":		// WHOISSERVER Reply
-		case "317":		// WHOISIDLE Reply
 		case "322":		// LIST data
 		case "341":		// Invite being sent
 		case "351":		// (server) VERSION reply