make undefined hooks receive module info as well
Authored by: kifer 2001-02-23
Parent: [r2224]
Child: [r2226]