updated to new module structure introduced with ZNC 1.0