Fix: user data is created at first connection but not returned.

master
Philippe Pittoli 2023-07-07 20:23:38 +02:00
parent 7d641b9168
commit af7379ad43
1 changed files with 2 additions and 1 deletions

View File

@ -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