diff options
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_irc/script_plugin.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/lsg_irc/script_plugin.ex b/lib/lsg_irc/script_plugin.ex index bae6f3f..94d4edf 100644 --- a/lib/lsg_irc/script_plugin.ex +++ b/lib/lsg_irc/script_plugin.ex @@ -1,4 +1,4 @@ -defmodule LSG.IRC.ScriptPlugin do +defmodule Nola.IRC.ScriptPlugin do require Logger @moduledoc """ @@ -24,7 +24,7 @@ defmodule LSG.IRC.ScriptPlugin do def init([]) do {:ok, _} = Registry.register(IRC.PubSub, "trigger:script", [plugin: __MODULE__]) - dets_filename = (LSG.data_path() <> "/" <> "scripts.dets") |> String.to_charlist + dets_filename = (Nola.data_path() <> "/" <> "scripts.dets") |> String.to_charlist {:ok, dets} = :dets.open_file(dets_filename, []) {:ok, %{dets: dets}} end |