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