diff options
author | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-01 10:30:18 +0200 |
commit | 75687711f35355bc30e4829439384aab28fcac6d (patch) | |
tree | 8f3256f472893c39720a684d390e890a152f7303 /lib/lsg_irc/np_handler.ex | |
parent | link: post_* callbacks; html & pdftitle. (diff) |
Commit all the changes that hasn't been committed + updates.
Diffstat (limited to 'lib/lsg_irc/np_handler.ex')
-rw-r--r-- | lib/lsg_irc/np_handler.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg_irc/np_handler.ex b/lib/lsg_irc/np_handler.ex index 5f724d4..1a52c75 100644 --- a/lib/lsg_irc/np_handler.ex +++ b/lib/lsg_irc/np_handler.ex @@ -8,12 +8,12 @@ defmodule LSG.IRC.NpHandler do def short_irc_doc, do: "!np (en ce moment sur 115ans)" def irc_doc, do: @moduledoc def start_link(client) do - GenServer.start_link(__MODULE__, [client]) + GenServer.start_link(__MODULE__, [client], name: __MODULE__) end def init([client]) do ExIRC.Client.add_handler client, self - {:ok, _} = Registry.register(LSG.BroadcastRegistry, "icecast", []) + {:ok, _} = Registry.register(LSG.BroadcastRegistry, "icecast", [plugin: __MODULE__]) {:ok, client} end |