mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #01910
[Bug 509946] Re: Event handlers can't handle functions in a table
Attached is a fix which makes it 'simply work'.
You can use a.b.c, or a["b"] or whatever else you'd like. If the
function does not exist, it is reported to the errors view with the
familiar Lua error.
** Patch added: "fix bug 509946.diff"
https://bugs.launchpad.net/mudlet/+bug/509946/+attachment/2563898/+files/fix%20bug%20509946.diff
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/509946
Title:
Event handlers can't handle functions in a table
Status in Mudlet the MUD client:
Fix Committed
Bug description:
If you have a function that is stored in a table (perfectly legal in
Lua where functions are variables), then the script handler will fail
to call it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/509946/+subscriptions
References