summaryrefslogtreecommitdiff
path: root/lib/lsg_irc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_irc')
l---------lib/lsg_irc/.#youtube_handler.ex1
-rw-r--r--lib/lsg_irc/alcolog_plugin.ex2
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/lsg_irc/.#youtube_handler.ex b/lib/lsg_irc/.#youtube_handler.ex
deleted file mode 120000
index 0557ec1..0000000
--- a/lib/lsg_irc/.#youtube_handler.ex
+++ /dev/null
@@ -1 +0,0 @@
-href@echoes.1780 \ No newline at end of file
diff --git a/lib/lsg_irc/alcolog_plugin.ex b/lib/lsg_irc/alcolog_plugin.ex
index 290be50..8360b3c 100644
--- a/lib/lsg_irc/alcolog_plugin.ex
+++ b/lib/lsg_irc/alcolog_plugin.ex
@@ -57,7 +57,7 @@ defmodule LSG.IRC.AlcoologPlugin do
def init(_) do
triggers = for(t <- @pubsub_triggers, do: "trigger:"<>t)
for sub <- @pubsub ++ triggers do
- {:ok, _} = Registry.register(IRC.PubSub, "account", plugin: __MODULE__)
+ {:ok, _} = Registry.register(IRC.PubSub, sub, plugin: __MODULE__)
end
dets_filename = (LSG.data_path() <> "/" <> "alcoolisme.dets") |> String.to_charlist
{:ok, dets} = :dets.open_file(dets_filename, [{:type,:bag}])