diff --git a/web/root/ecwebv3/lightirc/lightirc.xjs b/web/root/ecwebv3/lightirc/lightirc.xjs
index af5fe92107425cee30f7c17cd6e76f8c5a57f580..9b57854a60c0c451d783152ccbae429c0d396d4a 100644
--- a/web/root/ecwebv3/lightirc/lightirc.xjs
+++ b/web/root/ecwebv3/lightirc/lightirc.xjs
@@ -16,7 +16,7 @@
 <html>
 
 <head>
-<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/swfobject.js"></script>
+<script type="text/javascript" src="http://<?xjs write(http_request.host); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/swfobject.js"></script>
 <link rel="stylesheet" type="text/css" href="../style/style.css" />
 </head>
 
@@ -36,7 +36,7 @@ var params = {
 	quitmsg : "<?xjs write(system.name); ?>"
 };
 if(<?xjs write(embed); ?>)
-	swfobject.embedSWF('http://<?xjs write(http_request.host); ?>:<?xjs write(webIni.HTTPPort); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null);
+	swfobject.embedSWF('http://<?xjs write(http_request.host); ?>/<?xjs write(webIni.appendURL); ?>/lightirc/lightIRC.swf', 'lightIRC', '730', '420', '9.0.0', null, params, null);
 else
 	document.getElementById('lightIRC').innerHTML = 'Socket policy server not enabled.  LightIRC not loaded.';
 </script>