From 3ce055da8093db2fc651a247dd5be3776129de8a Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Fri, 24 Dec 2010 14:13:12 +1300 Subject: [PATCH] fix cnc mod script the same way --- mods/cnc/mod.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/cnc/mod.html b/mods/cnc/mod.html index 6a07594b86..fa15f5cd70 100644 --- a/mods/cnc/mod.html +++ b/mods/cnc/mod.html @@ -129,7 +129,7 @@ var version = window.external.metadata("VERSION", "cnc"); document.getElementById("installedversion").innerHTML = version; document.getElementById("latestversion").innerHTML = window.external.httpRequest("http://master.open-ra.org/VERSION"); - motd = window.external.httpRequest("http://master.open-ra.org/motd.php?v="+version); + var motd = window.external.httpRequest("http://master.open-ra.org/motd.php?v="+version); if (motd != undefined) document.getElementById("motd").innerHTML = motd.substring(3); }