Fixing a bug when using ZNC