src/irc: Do not implicitly load relay module, closes #2
modules/core: update to check permissions correctly