Fix crash on nonexistent ircClient + other swag

P.S. not tested, derp