diff --git a/exec/load/ircd/config.js b/exec/load/ircd/config.js
index 5d5e38309a5eaa18a30ea13550e695873f7a86b1..ac3f2d6c4dc76638e386681e2dfa2087f958ec2a 100644
--- a/exec/load/ircd/config.js
+++ b/exec/load/ircd/config.js
@@ -354,10 +354,9 @@ function read_conf_config(conf) {
 					HLines.push(new HLine(arg[1],arg[3]));
 					break;
 				case "I":
-					if (!arg[5])
+					if (!arg[5] || !parseInt(arg[5]))
 						break;
-					ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],
-						arg[5]));
+					ILines.push(new ILine(arg[1],arg[2],arg[3],arg[4],parseInt(arg[5])));
 					break;
 				case "K":
 					if (!arg[2])