diff options
author | Jordan Bracco <href@random.sh> | 2022-12-17 13:47:11 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:41 +0100 |
commit | fd4afd7c7acd9b5fda75b628a7e19d0149d8b889 (patch) | |
tree | df571d49fa9dc9c3cd58c94033b9fc81c7b7f8ec /lib/lsg_irc/last_fm_plugin.ex | |
parent | Rename to Nola, pt. 1. Refs T77 (diff) |
Nola rename cont. pt. 2. Refs T77.
`find lib -name "*.ex" -type f | xargs sed -i '' 's/LSG/Nola/g'`
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_irc/last_fm_plugin.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg_irc/last_fm_plugin.ex b/lib/lsg_irc/last_fm_plugin.ex index 0c6b8a6..f29982c 100644 --- a/lib/lsg_irc/last_fm_plugin.ex +++ b/lib/lsg_irc/last_fm_plugin.ex @@ -1,4 +1,4 @@ -defmodule LSG.IRC.LastFmPlugin do +defmodule Nola.IRC.LastFmPlugin do require Logger @moduledoc """ @@ -23,7 +23,7 @@ defmodule LSG.IRC.LastFmPlugin do def init([]) do regopts = [type: __MODULE__] for t <- @pubsub_topics, do: {:ok, _} = Registry.register(IRC.PubSub, t, type: __MODULE__) - dets_filename = (LSG.data_path() <> "/" <> "lastfm.dets") |> String.to_charlist + dets_filename = (Nola.data_path() <> "/" <> "lastfm.dets") |> String.to_charlist {:ok, dets} = :dets.open_file(dets_filename, []) {:ok, %__MODULE__{dets: dets}} end |