Fix topic exploit
This commit is contained in:
parent
890c751bb6
commit
ef041d6612
|
@ -314,10 +314,6 @@ $(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