diff --git a/commands.js b/commands.js index bfc7ec960a..67c51e81f1 100644 --- a/commands.js +++ b/commands.js @@ -256,7 +256,8 @@ var commands = exports.commands = { roomdesc: function(target, room, user) { if (!target) { if (!this.canBroadcast()) return; - this.sendReply('The room description is: '+room.desc); + var re = /(https?:\/\/(([-\w\.]+)+(:\d+)?(\/([\w/_\.]*(\?\S+)?)?)?))/g; + this.sendReplyBox('The room description is: '+room.desc.replace(re, "$1")); return; } if (!this.can('roommod', null, room)) return false;