Fix: catch NickError when checking for permissions