From ef041d6612e20369bf49b17b8162c57b4955a1cc Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Thu, 22 Jan 2015 09:29:28 -0800 Subject: [PATCH] Fix topic exploit --- client/js/shout.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/client/js/shout.js b/client/js/shout.js index 5b02e23..9c2dace 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -314,10 +314,6 @@ $(function() { } }); - socket.on("topic", function(data) { - $("#chan-" + data.chan).find(".header .topic").html(data.topic); - }); - socket.on("users", function(data) { var users = chat.find("#chan-" + data.chan).find(".users").html(render("user", data)); var nicks = [];