summaryrefslogtreecommitdiff
path: root/lib/irc/irc.ex
diff options
context:
space:
mode:
Diffstat (limited to 'lib/irc/irc.ex')
-rw-r--r--lib/irc/irc.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/irc/irc.ex b/lib/irc/irc.ex
index 7cd9dc8..93525e4 100644
--- a/lib/irc/irc.ex
+++ b/lib/irc/irc.ex
@@ -25,7 +25,7 @@ defmodule IRC do
if connection && (force_puppet || IRC.PuppetConnection.whereis(account, connection)) do
IRC.PuppetConnection.start_and_send_message(account, connection, channel, text)
else
- user = IRC.UserTrack.find_by_account(network, account)
+ user = Nola.UserTrack.find_by_account(network, account)
nick = if(user, do: user.nick, else: account.name)
IRC.Connection.broadcast_message(network, channel, "<#{nick}> #{text}")
end