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);
}