diff options
author | Jordan Bracco <href@random.sh> | 2022-12-11 02:01:29 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-11 02:03:36 +0000 |
commit | 93e327fb9089751500ad3c69557ca12e7e638738 (patch) | |
tree | 2454a07ac436bace488e9dceabd99d8e9de6146f /lib/irc/plugin/temp_ref.ex | |
parent | fix(couch): fix error handling in get/2,3 (diff) |
feat(gpt): continue prompt, some fixes
Diffstat (limited to '')
-rw-r--r-- | lib/irc/plugin/temp_ref.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irc/plugin/temp_ref.ex b/lib/irc/plugin/temp_ref.ex index 84b41bb..923fa1a 100644 --- a/lib/irc/plugin/temp_ref.ex +++ b/lib/irc/plugin/temp_ref.ex @@ -69,7 +69,7 @@ defmodule Irc.Plugin.TempRef do def lookup_temp_ref(key, state, default \\ nil) do case List.keyfind(state.refs, key, 0) do {_, _, data} -> data - _ -> nil + _ -> default end end |