Fix: user data is created at first connection but not returned.
parent
7d641b9168
commit
af7379ad43
|
@ -48,7 +48,8 @@ class DNSManager::Storage
|
|||
user_data = user_data_by_uid.get? user_id.to_s
|
||||
unless user_data
|
||||
Baguette::Log.info "New user #{user_id}"
|
||||
@user_data << UserData.new user_id
|
||||
user_data = UserData.new user_id
|
||||
@user_data << user_data
|
||||
end
|
||||
|
||||
user_data
|
||||
|
|
Loading…
Reference in New Issue