UPPERCASE FUCK

This commit is contained in:
Kasper Rynning-Tønnesen
2017-09-11 09:02:21 +02:00
parent d55680425b
commit 2673892974

View File

@@ -360,7 +360,7 @@ io.on('connection', function(socket){
socket.on('frontpage_lists', function(msg)
{
if(!msg.hasOwnProperty('VERSION') || msg.version != VERSION || msg.version == undefined) {
if(!msg.hasOwnProperty('version') || msg.version != VERSION || msg.version == undefined) {
socket.emit("update_required");
}
@@ -423,7 +423,7 @@ io.on('connection', function(socket){
if(typeof(msg) === 'object' && msg !== undefined && msg !== null && msg.hasOwnProperty("channel") && msg.hasOwnProperty('pass'))
{
if(!msg.hasOwnProperty('VERSION') || msg.version != VERSION || msg.version == undefined) {
if(!msg.hasOwnProperty('version') || msg.version != VERSION || msg.version == undefined) {
socket.emit("update_required");
}