summaryrefslogtreecommitdiff
path: root/lib/lsg_irc/sms_plugin.ex
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-17 14:01:18 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:41 +0100
commit67754dc5366976b0f4300af2d1798baa81423df5 (patch)
treeea7d78652e52e8e347f1976c4b2777cd6565462f /lib/lsg_irc/sms_plugin.ex
parentNola rename cont. pt. 2. Refs T77. (diff)
Nola rename, cont. pt. 3. Refs T77.
`s/:lsg/:nola/g`
Diffstat (limited to '')
-rw-r--r--lib/lsg_irc/sms_plugin.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsg_irc/sms_plugin.ex b/lib/lsg_irc/sms_plugin.ex
index 2bbf13e..d8f7387 100644
--- a/lib/lsg_irc/sms_plugin.ex
+++ b/lib/lsg_irc/sms_plugin.ex
@@ -51,7 +51,7 @@ defmodule Nola.IRC.SmsPlugin do
end
def my_number() do
- Keyword.get(Application.get_env(:lsg, :sms, []), :number, "+33000000000")
+ Keyword.get(Application.get_env(:nola, :sms, []), :number, "+33000000000")
end
def start_link() do
@@ -59,7 +59,7 @@ defmodule Nola.IRC.SmsPlugin do
end
def path() do
- account = Keyword.get(Application.get_env(:lsg, :sms), :account)
+ account = Keyword.get(Application.get_env(:nola, :sms), :account)
"https://eu.api.ovh.com/1.0/sms/#{account}"
end
@@ -156,7 +156,7 @@ defmodule Nola.IRC.SmsPlugin do
end
defp env() do
- Application.get_env(:lsg, :sms)
+ Application.get_env(:nola, :sms)
end
defp env(key) do