restrict out empty IP
This commit is contained in:
parent
f790ee996a
commit
16da5e8918
|
|
@ -1355,7 +1355,7 @@ module JamWebsockets
|
|||
# it's possible that a client will not be represented in the database anymore, due to hard to trace/guess scenario
|
||||
# usually involve reconnects. Double-check that all clients in memory are actually in the database. if not, delete them from memory
|
||||
|
||||
@stored_ars = Ars.where(active: true).all
|
||||
@stored_ars = Ars.where(active: true).where('ip is not NULL').where("ip != ''").all
|
||||
|
||||
if @client_lookup.length == 0
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in New Issue