Make sure not to concatenate nil
if no
wasn't passed.
This commit is contained in:
parent
b800889b7b
commit
eb32e3dc0f
@ -128,6 +128,10 @@ function telex.get(player, no)
|
||||
return { "You have no messages." }
|
||||
end
|
||||
|
||||
if not no then
|
||||
return { "You didn't specify a message number." }
|
||||
end
|
||||
|
||||
local msgid = mbox[no]
|
||||
local msg = telex.get_msg(msgid)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user