def show_network(network) # rubocop:disable Metrics/AbcSize
      puts "Network: #{network.name}"
      security = "#{network.secure ? 'secure' : 'insecure'} connection"
      password = network.server_password
      puts "\tServer:     #{network.host}:#{network.real_port} (#{security})"
      puts "\tPassword:   #{'*' * password.length}" unless password.to_s.empty?
      puts "\tNickname:   #{network.nick}"
      puts "\tBind to:    #{network.bind}" unless network.bind.to_s.empty?
      puts "\tUser modes: #{network.modes}" unless network.modes.to_s.empty?
      show_network_sasl(network)
      show_network_nickserv(network)
    end
def show_network(network) # rubocop:disable Metrics/AbcSize
      puts "Network: #{network.name}"
      security = "#{network.secure ? 'secure' : 'insecure'} connection"
      password = network.server_password
      puts "\tServer:     #{network.host}:#{network.real_port} (#{security})"
      puts "\tPassword:   #{'*' * password.length}" unless password.to_s.empty?
      puts "\tNickname:   #{network.nick}"
      puts "\tBind to:    #{network.bind}" unless network.bind.to_s.empty?
      puts "\tUser modes: #{network.modes}" unless network.modes.to_s.empty?
      show_network_sasl(network)
      show_network_nickserv(network)
    end
Prints information about a network.

 @param network [Network] the network