protocol/inspircd: only check protocol version if available