Revert "Fix topic exploit"
This reverts commit ef041d6612
.
To show topic again. Commit was just disabling the topic.
This commit is contained in:
parent
7138ca6bda
commit
dc79d71ae5
@ -314,6 +314,10 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
socket.on("topic", function(data) {
|
||||||
|
$("#chan-" + data.chan).find(".header .topic").html(data.topic);
|
||||||
|
});
|
||||||
|
|
||||||
socket.on("users", function(data) {
|
socket.on("users", function(data) {
|
||||||
var users = chat.find("#chan-" + data.chan).find(".users").html(render("user", data));
|
var users = chat.find("#chan-" + data.chan).find(".users").html(render("user", data));
|
||||||
var nicks = [];
|
var nicks = [];
|
||||||
|
Loading…
Reference in New Issue
Block a user