mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
changed server to use firstname lastname from esx_identity
This commit is contained in:
1 parent
e8ea4a8951
commit
e3fb16988e
2 files changed
+2
-3
No files matched your search
@@ -90,14 +90,13 @@ end
|
||||
function getProfileName(identifier, cb)
|
||||
local defaultProfileName = ''
|
||||
if Config.twitter.generateProfileNameFromUsers == false then
|
||||
print('use default')
|
||||
cb(defaultProfileName)
|
||||
return
|
||||
end
|
||||
|
||||
-- TODO: make this query configurable
|
||||
MySQL.Async.fetchAll([[
|
||||
SELECT CONCAT(first_name, '_', last_name) AS profile_name
|
||||
SELECT CONCAT(firstname, '_', lastname) AS profile_name
|
||||
FROM users
|
||||
WHERE identifier = @identifier LIMIT 1
|
||||
]],
|
||||
|
||||
Reference in new issue
Block a user