In FunctionPtrBase::getModule, for function delegates return the parent function's module

For whatever reason, Angelscript doesn't set the module parameter for delegates