summaryrefslogtreecommitdiff
path: root/lib/lsg_irc/dice_handler.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/lsg_irc/dice_handler.ex')
-rw-r--r--lib/lsg_irc/dice_handler.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lsg_irc/dice_handler.ex b/lib/lsg_irc/dice_handler.ex
index b07b59b..7ff7b4d 100644
--- a/lib/lsg_irc/dice_handler.ex
+++ b/lib/lsg_irc/dice_handler.ex
@@ -22,6 +22,7 @@ defmodule LSG.IRC.DiceHandler do
def init([client]) do
ExIRC.Client.add_handler(client, self())
+ {:ok, _} = Registry.register(IRC.PubSub, "dice", [])
{:ok, %__MODULE__{client: client}}
end