mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
UPPERCASE FUCK
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user