fix a script function-cant-return-value bug.
Authored by: utunnels 2007-03-22
Parent: [r639]
Child: [r641]