Skip to content

Commit

Permalink
Update source/utils/session.bs
Browse files Browse the repository at this point in the history
  • Loading branch information
cewert authored Jan 12, 2024
1 parent 3f172dc commit 03941b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/utils/session.bs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ namespace session
tmpSessionUser[key] = value

' keep friendlyName in sync
if key = "name"
if LCase(key) = "name"
regex = CreateObject("roRegex", "[^a-zA-Z0-9\ \-\_]", "")
tmpSessionUser["friendlyName"] = regex.ReplaceAll(value, "")
end if
Expand Down

0 comments on commit 03941b4

Please sign in to comment.