From fd4afd7c7acd9b5fda75b628a7e19d0149d8b889 Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Sat, 17 Dec 2022 13:47:11 +0000 Subject: Nola rename cont. pt. 2. Refs T77. `find lib -name "*.ex" -type f | xargs sed -i '' 's/LSG/Nola/g'` --- lib/lsg_irc/seen_plugin.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/lsg_irc/seen_plugin.ex') diff --git a/lib/lsg_irc/seen_plugin.ex b/lib/lsg_irc/seen_plugin.ex index 405c372..2a4d0dd 100644 --- a/lib/lsg_irc/seen_plugin.ex +++ b/lib/lsg_irc/seen_plugin.ex @@ -1,4 +1,4 @@ -defmodule LSG.IRC.SeenPlugin do +defmodule Nola.IRC.SeenPlugin do @moduledoc """ # seen @@ -14,7 +14,7 @@ defmodule LSG.IRC.SeenPlugin do regopts = [plugin: __MODULE__] {:ok, _} = Registry.register(IRC.PubSub, "triggers", regopts) {:ok, _} = Registry.register(IRC.PubSub, "messages", regopts) - dets_filename = (LSG.data_path() <> "/seen.dets") |> String.to_charlist() + dets_filename = (Nola.data_path() <> "/seen.dets") |> String.to_charlist() {:ok, dets} = :dets.open_file(dets_filename, []) {:ok, %{dets: dets}} end -- cgit v1.2.3