diff --git a/mods/ra/mod.html b/mods/ra/mod.html
index e13132ee0e..b88a41c0ac 100644
--- a/mods/ra/mod.html
+++ b/mods/ra/mod.html
@@ -129,7 +129,8 @@
var version = window.external.metadata("VERSION", "ra");
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);
}