diff --git a/channel.js b/channel.js
index 86c312a5..95595a16 100644
--- a/channel.js
+++ b/channel.js
@@ -448,7 +448,7 @@ Channel.prototype.sendMessage = function(username, msg, msgclass) {
// I don't want HTML from strangers
msg = msg.replace(//g, ">");
// Match URLs
- msg = msg.replace(/(((https?)|(ftp))(:\/\/[0-9a-zA-Z\.]+(:[0-9]+)?[^\s$]+))/, "$1");
+ msg = msg.replace(/(((https?)|(ftp))(:\/\/[0-9a-zA-Z\.]+(:[0-9]+)?[^\s$]+))/, "$1");
this.sendAll('chatMsg', {
username: username,
msg: msg,