summaryrefslogtreecommitdiff
path: root/lib/tmpl.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tmpl.ex')
-rw-r--r--lib/tmpl.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tmpl.ex b/lib/tmpl.ex
index 1470603..f4dac02 100644
--- a/lib/tmpl.ex
+++ b/lib/tmpl.ex
@@ -43,7 +43,7 @@ defmodule Tmpl do
end
def account_nick(%{"id" => id, "name" => name}, %{variables: %{"message" => %{"network" => network}}}) do
- if user = IRC.UserTrack.find_by_account(network, %IRC.Account{id: id}) do
+ if user = IRC.UserTrack.find_by_account(network, %Nola.Account{id: id}) do
user.nick
else
name