summaryrefslogtreecommitdiff
path: root/lib/lsg_irc
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-02 02:48:38 +0200
committerhref <href@random.sh>2021-09-02 02:50:25 +0200
commitb429aaa33910fe445e92503ae3cc7db67b806a42 (patch)
tree1634846a6c4b82d457f22fa461444c95966c6086 /lib/lsg_irc
parentlink: humanize file size (diff)
chores
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}])