mirror of
https://github.com/Earu/EasyChat.git
synced 2025-03-03 19:03:10 -05:00
Fix unconnected nicks (#136)
This commit is contained in:
parent
15b18373f7
commit
43b123e1e4
@ -129,6 +129,8 @@ function EasyChat.GetProperNick(ply)
|
||||
if not IsValid(ply) then return get_unknown_name(ply) end
|
||||
|
||||
local ply_nick = EasyChat.NativeNick(ply)
|
||||
if ply_nick == "unconnected" then return ply_nick end
|
||||
|
||||
if ec_markup then
|
||||
local mk = ec_markup.CachePlayer("EasyChat", ply, function()
|
||||
return ec_markup.AdvancedParse(ply_nick, { nick = true })
|
||||
|
Loading…
Reference in New Issue
Block a user