Update source/utils/session.bs
This commit is contained in:
parent
3f172dc3e8
commit
03941b4d77
|
@ -126,7 +126,7 @@ namespace session
|
||||||
tmpSessionUser[key] = value
|
tmpSessionUser[key] = value
|
||||||
|
|
||||||
' keep friendlyName in sync
|
' keep friendlyName in sync
|
||||||
if key = "name"
|
if LCase(key) = "name"
|
||||||
regex = CreateObject("roRegex", "[^a-zA-Z0-9\ \-\_]", "")
|
regex = CreateObject("roRegex", "[^a-zA-Z0-9\ \-\_]", "")
|
||||||
tmpSessionUser["friendlyName"] = regex.ReplaceAll(value, "")
|
tmpSessionUser["friendlyName"] = regex.ReplaceAll(value, "")
|
||||||
end if
|
end if
|
||||||
|
|
Loading…
Reference in New Issue
Block a user