diff options
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}) |