mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Removed unused variables and trying to fix frontpage error on fb.zoff.me
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function frontpage_lists(msg, socket) {
|
||||
if(!msg.hasOwnProperty('version') || msg.version != VERSION || msg.version == undefined) {
|
||||
if(msg == undefined || !msg.hasOwnProperty('version') || msg.version != VERSION || msg.version == undefined) {
|
||||
socket.emit("update_required");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user