diff options
author | href <href@random.sh> | 2018-05-02 19:03:35 +0200 |
---|---|---|
committer | href <href@random.sh> | 2018-05-02 19:04:28 +0200 |
commit | a47dc245808921309f58e8b1c4b6fa028b2df073 (patch) | |
tree | 1842d413f2a43d3759b439417f053052b878a1f7 /lib/lsg_web/controllers | |
parent | … (diff) |
meh
Diffstat (limited to 'lib/lsg_web/controllers')
-rw-r--r-- | lib/lsg_web/controllers/irc_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsg_web/controllers/irc_controller.ex b/lib/lsg_web/controllers/irc_controller.ex index bff5476..af7fff1 100644 --- a/lib/lsg_web/controllers/irc_controller.ex +++ b/lib/lsg_web/controllers/irc_controller.ex @@ -3,7 +3,7 @@ defmodule LSGWeb.IrcController do def index(conn, _) do doc = LSG.IRC.TxtHandler.irc_doc() - commands = for mod <- Application.get_env(:lsg, :irc)[:handlers] do + commands = for mod <- (Application.get_env(:lsg, :irc)[:plugins] ++ Application.get_env(:lsg, :irc)[:handlers]) do mod.irc_doc() end |> Enum.reject(fn(i) -> i == nil end) |