[mirotalk] - fix typo

This commit is contained in:
Miroslav Pejic
2023-04-24 11:45:26 +02:00
parent 20eddab1f8
commit 7ef5a6500e
+1 -1
View File
@@ -650,7 +650,7 @@ io.sockets.on('connect', async (socket) => {
const peer_ip = socket.handshake.headers['x-forwarded-for'] || socket.conn.remoteAddress;
// Get peer Geo Location
if (IPLookupEnabled && (peer_ip != '::1' || peer_ip != '127.0.0.1')) {
if (IPLookupEnabled && peer_ip != '::1') {
cfg.peer_geo = await getPeerGeoLocation(peer_ip);
}