diff --git a/web/root/ecwebv3/lightirc/lightirc.xjs b/web/root/ecwebv3/lightirc/lightirc.xjs
index 90e85b52baa8e63666c123a0643a840955375c11..a90e31e9452e44b0007abd68f95e90531aac36ff 100644
--- a/web/root/ecwebv3/lightirc/lightirc.xjs
+++ b/web/root/ecwebv3/lightirc/lightirc.xjs
@@ -25,7 +25,7 @@
 <script language="javascript" type="text/javascript">
 document.getElementById('lightIRC').innerHTML = "";
 var params = {
-	host : "<?xjs write(http_request.host.replace(/\:\d*/g, ""); ?>",
+	host : "<?xjs write(http_request.host.replace(/\:\d*/g, "")); ?>",
 	policyPort : "<?xjs write(fspPort); ?>",
 	language : "en",
 	nickselect : "yes",