Skip to content

Commit

Permalink
Fix disguise changing others usernames (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
ccuser44 authored Nov 26, 2024
1 parent 0e75da8 commit 34de1f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MainModule/Server/Core/Admin.luau
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ return function(Vargs, GetEnv)
return false
end

if Variables.DisguiseBindings[textSource.UserId] then -- // Disguise command handler
chatMessage.PrefixText = Variables.DisguiseBindings[textSource.UserId].TargetUsername..":"
if Variables.DisguiseBindings[SenderId] then -- // Disguise command handler
chatMessage.PrefixText = Variables.DisguiseBindings[SenderId].TargetUsername..":"
end

if Admin.SlowMode and IsOriginalSender then
Expand Down

0 comments on commit 34de1f4

Please sign in to comment.