remove unneeded check

io_type != IO_CLIENT implies io_type == SERVER