diff options
author | Jordan Bracco <href@random.sh> | 2022-12-11 19:07:09 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-11 19:07:09 +0000 |
commit | bc3d5b7f4f54d88a2ebf1cadbcd7e2816f07deaa (patch) | |
tree | e4880c66b7a2c79de59fd24107c498ba3b0e518b /lib/irc/account.ex | |
parent | feat(telegram): create account for telegram user (diff) |
Fix the fixes.
Diffstat (limited to '')
-rw-r--r-- | lib/irc/account.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irc/account.ex b/lib/irc/account.ex index beb8daa..46c7f6e 100644 --- a/lib/irc/account.ex +++ b/lib/irc/account.ex @@ -242,7 +242,7 @@ defmodule IRC.Account do get(id) end - defp new_account(%{nick: nick, network: server}) do + def new_account(%{nick: nick, network: server}) do id = EntropyString.large_id() :dets.insert(file("db"), {id, nick, EntropyString.token()}) :dets.insert(file("predicates"), {{server, {:nick, nick}}, id}) |