summaryrefslogtreecommitdiff
path: root/lib/irc/irc.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/irc/irc.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irc/irc.ex b/lib/irc/irc.ex
index d9fdfb5..71d6d93 100644
--- a/lib/irc/irc.ex
+++ b/lib/irc/irc.ex
@@ -41,7 +41,7 @@ defmodule IRC do
def admin?(%Message{sender: sender}), do: admin?(sender)
def admin?(%{nick: nick, user: user, host: host}) do
- for {n, u, h} <- LSG.IRC.env(:admins, []) do
+ for {n, u, h} <- Nola.IRC.env(:admins, []) do
admin_part_match?(n, nick) && admin_part_match?(u, user) && admin_part_match?(h, host)
end
|> Enum.any?