[sr-dev] git:master: core: fix mod_register & dlflags