1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

3.5.270. Fix a BTTV template. Change the get_editor_of function to use DOMParser for better security. Fix websocket callbacks not getting called. Remove a client-side permissions check from the /ffz following command.

This commit is contained in:
SirStendec 2016-08-12 14:25:19 -04:00
parent 0ee788b998
commit 9592dc1c2c
7 changed files with 69 additions and 19 deletions

View file

@ -298,12 +298,12 @@ FFZ.prototype.ws_create = function() {
else
f.log("Invalid command: " + cmd, data, false, true);
} else if ( cmd === "error" ) {
} /*else if ( cmd === "error" ) {
f.log("Socket server reported error: " + data);
if (f._ws_callbacks[request] )
delete f._ws_callbacks[request];
} else {
}*/ else {
var success = cmd === 'ok',
has_callback = typeof f._ws_callbacks[request] === "function";