Updating plugin to reflect the API of ZNC 1.2