mudgangster

Log | Files | Refs

commit ed4fa12c0dc5d0ea41584bf4ee83c3b0d32651bd
parent ca4eea85958a68a7e032c36b88e94497c365d8b0
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Wed,  5 Dec 2012 20:33:31 +0000

Allow string aliases to use args

Diffstat:
alias.lua | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/alias.lua b/alias.lua @@ -82,8 +82,8 @@ function mud.alias( command, handler, ... ) if type( handler ) == "string" then local command = handler - handler = function() - mud.input( command ) + handler = function( args ) + mud.input( command % args ) end end