summaryrefslogtreecommitdiff
path: root/lib/lsg_web
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_web')
-rw-r--r--lib/lsg_web/controllers/irc_controller.ex2
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)