eventscript: check that internal script events are being invoked correctly
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:53:13 +0000 (11:23 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 24 Nov 2009 00:53:13 +0000 (11:23 +1030)
commita6d353519932eee48f9241ad8887b692882906c9
tree43b6702fa6d5ba73994edd25ac6ffd810060a4fd
parentb0648c7f08eba87ec3c9714e2525c9b621bfb4ef
eventscript: check that internal script events are being invoked correctly

This is not as good as a compile-time check, but at least we count the
number of arguments are correct.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
server/eventscript.c