summaryrefslogtreecommitdiff
path: root/lib/web/live/chat_live.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/web/live/chat_live.ex')
-rw-r--r--lib/web/live/chat_live.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/web/live/chat_live.ex b/lib/web/live/chat_live.ex
index 678ea36..88afa0b 100644
--- a/lib/web/live/chat_live.ex
+++ b/lib/web/live/chat_live.ex
@@ -9,9 +9,9 @@ defmodule NolaWeb.ChatLive do
account = IRC.Account.get(account_id)
membership = IRC.Membership.of_account(IRC.Account.get("DRgpD4fLf8PDJMLp8Dtb"))
if account && connection && Enum.member?(membership, {connection.network, chan}) do
- {:ok, _} = Registry.register(IRC.PubSub, "#{connection.network}:events", plugin: __MODULE__)
+ {:ok, _} = Registry.register(Nola.PubSub, "#{connection.network}:events", plugin: __MODULE__)
for t <- ["messages", "triggers", "outputs", "events"] do
- {:ok, _} = Registry.register(IRC.PubSub, "#{connection.network}/#{chan}:#{t}", plugin: __MODULE__)
+ {:ok, _} = Registry.register(Nola.PubSub, "#{connection.network}/#{chan}:#{t}", plugin: __MODULE__)
end
IRC.PuppetConnection.start(account, connection)