diff --git a/exec/load/ircd/server.js b/exec/load/ircd/server.js
index 34ff4ea8f37422f09948e71c236a7a34ff72f5de..d032f704edfb16f7838065be8f97f34239775d38 100644
--- a/exec/load/ircd/server.js
+++ b/exec/load/ircd/server.js
@@ -430,10 +430,10 @@ function Server_Work(cmdline) {
 		/* Detect TS-style MODE and stuff the real TS in j */
 		j = parseInt(p[0]);
 		if (p[0] == j) {
-			if (!this.hub)
-				j = Epoch();
 			p.shift();
 		}
+		if (!this.hub)
+			j = Epoch();
 		if (p[0][0] == "#") {
 			/* Setting a channel mode */
 			tmp = Channels[p[0].toUpperCase()];