mirror of
https://github.com/mt-mods/mail.git
synced 2025-04-30 08:21:44 -04:00
Expand aliases at toplevel if the current expansion is at toplevel
This should allow players to send mail to their own aliases
This commit is contained in:
parent
9c2be9d689
commit
8e72df6004
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ local function recursive_expand_recipient_names(sender, list, is_toplevel, recip
|
|||
local vtp = type(value)
|
||||
if succ then
|
||||
if vtp == "string" then
|
||||
recursive_expand_recipient_names(sender, {value}, false, recipients, undeliverable)
|
||||
recursive_expand_recipient_names(sender, {value}, is_toplevel, recipients, undeliverable)
|
||||
elseif vtp == "table" then
|
||||
recursive_expand_recipient_names(sender, value, false, recipients, undeliverable)
|
||||
elseif vtp == "function" then
|
||||
|
|
Loading…
Add table
Reference in a new issue