Skip to content

Commit

Permalink
Update token.lua
Browse files Browse the repository at this point in the history
Fix bug where debit notice doesn't have a target in AOS < 2.0
  • Loading branch information
elliotsayes authored Oct 18, 2024
1 parent 4a68ac0 commit eea71b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blueprints/token.lua
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ Handlers.add('transfer', Handlers.utils.hasMatchingTag("Action", "Transfer"), fu
if msg.reply then
msg.reply(debitNotice)
else
debitNotice.Target = msg.From
Send(debitNotice)
end
Send(creditNotice)
Expand Down

0 comments on commit eea71b6

Please sign in to comment.