Revert "Fix topic exploit"

This reverts commit ef041d6612.
To show topic again. Commit was just disabling the topic.
This commit is contained in:
Olli Mäntylä 2015-04-26 22:42:31 +03:00
parent 7138ca6bda
commit dc79d71ae5

View File

@ -314,6 +314,10 @@ $(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 = [];