summaryrefslogtreecommitdiff
path: root/lib/lsg_web/context_plug.ex
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-17 13:47:11 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:41 +0100
commitfd4afd7c7acd9b5fda75b628a7e19d0149d8b889 (patch)
treedf571d49fa9dc9c3cd58c94033b9fc81c7b7f8ec /lib/lsg_web/context_plug.ex
parentRename 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 'lib/lsg_web/context_plug.ex')
-rw-r--r--lib/lsg_web/context_plug.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/lsg_web/context_plug.ex b/lib/lsg_web/context_plug.ex
index aaf851e..ebededa 100644
--- a/lib/lsg_web/context_plug.ex
+++ b/lib/lsg_web/context_plug.ex
@@ -1,4 +1,4 @@
-defmodule LSGWeb.ContextPlug do
+defmodule NolaWeb.ContextPlug do
import Plug.Conn
import Phoenix.Controller
@@ -31,7 +31,7 @@ defmodule LSGWeb.ContextPlug do
conns = IRC.Connection.get_network(network)
chan = if c = Map.get(conn.params, "chan") do
- LSGWeb.reformat_chan(c)
+ NolaWeb.reformat_chan(c)
end
chan_conn = IRC.Connection.get_network(network, chan)
@@ -66,7 +66,7 @@ defmodule LSGWeb.ContextPlug do
auth_required ->
conn
|> put_status(403)
- |> render(LSGWeb.AlcoologView, "auth.html", bot: bot, no_header: true, network: network)
+ |> render(NolaWeb.AlcoologView, "auth.html", bot: bot, no_header: true, network: network)
|> halt()
(network && !conns) ->
conn