diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 02:32:12 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | 9aecb2bf2c4210d8b6b6976f749902b23ade83d6 (patch) | |
tree | 9547fdefe13f8c7695a8dea389ffd9d4ddbaf83c /lib/plugins/seen.ex | |
parent | Actually do not prefix folders with nola_ refs T77 (diff) |
IRC.PubSub -> Nola.PubSub, refs T77
Diffstat (limited to 'lib/plugins/seen.ex')
-rw-r--r-- | lib/plugins/seen.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/seen.ex b/lib/plugins/seen.ex index 65af0c1..cdebd59 100644 --- a/lib/plugins/seen.ex +++ b/lib/plugins/seen.ex @@ -12,8 +12,8 @@ defmodule Nola.Plugins.Seen do def init([]) do regopts = [plugin: __MODULE__] - {:ok, _} = Registry.register(IRC.PubSub, "triggers", regopts) - {:ok, _} = Registry.register(IRC.PubSub, "messages", regopts) + {:ok, _} = Registry.register(Nola.PubSub, "triggers", regopts) + {:ok, _} = Registry.register(Nola.PubSub, "messages", regopts) dets_filename = (Nola.data_path() <> "/seen.dets") |> String.to_charlist() {:ok, dets} = :dets.open_file(dets_filename, []) {:ok, %{dets: dets}} |