summaryrefslogtreecommitdiff
path: root/lib/irc/application.ex
blob: 70b3d0f0bb9b783452166639d39b61b7e833672b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
defmodule Irc.Application do
  @moduledoc false

  use Application

  def start(_type, _args) do
    children = [
      {Irc.STS, []}
    ]

    opts = [strategy: :one_for_one, name: Irc.Supervisor]
    Supervisor.start_link(children, opts)
  end
end