Update source/utils/session.bs

This commit is contained in:
Charles Ewert 2024-01-12 17:05:25 -05:00 committed by GitHub
parent 3f172dc3e8
commit 03941b4d77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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