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/preums_plugin.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/lsg_irc/preums_plugin.ex') diff --git a/lib/lsg_irc/preums_plugin.ex b/lib/lsg_irc/preums_plugin.ex index 68257f0..9344ce9 100644 --- a/lib/lsg_irc/preums_plugin.ex +++ b/lib/lsg_irc/preums_plugin.ex @@ -1,4 +1,4 @@ -defmodule LSG.IRC.PreumsPlugin do +defmodule Nola.IRC.PreumsPlugin do @moduledoc """ # preums !!! @@ -81,7 +81,7 @@ defmodule LSG.IRC.PreumsPlugin do end def dets do - (LSG.data_path() <> "/preums.dets") |> String.to_charlist() + (Nola.data_path() <> "/preums.dets") |> String.to_charlist() end def init([]) do @@ -229,7 +229,7 @@ defmodule LSG.IRC.PreumsPlugin do end defp timezone(channel) do - env = Application.get_env(:lsg, LSG.IRC.PreumsPlugin, []) + env = Application.get_env(:lsg, Nola.IRC.PreumsPlugin, []) channels = Keyword.get(env, :channels, %{}) channel_settings = Map.get(channels, channel, []) default = Keyword.get(env, :default_tz, "Europe/Paris") -- cgit v1.2.3