Do not crash on unhook.
authorSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sun, 14 Jun 2009 23:50:45 +0000 (19:50 -0400)
committerSadrul Habib Chowdhury <sadrul@users.sourceforge.net>
Sun, 14 Jun 2009 23:50:45 +0000 (19:50 -0400)
commitd03daed69b4632fd1168faf1fe4fd6ce789ca539
tree4fa8ab08381fad996e523daaa883eb9d427cf80a
parentf0f6fcebd16cfe1f2a0d25e372e9f02809ed56eb
Do not crash on unhook.

Use the handler to unhook event callbacks. The cmdcallback.lua
script has been updated to show the use.
src/lua.c
src/scripts/cmdcallback.lua