From a2e3a9e6fcab2e32e0ca208d8242e8d6812a67df Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Tue, 20 Dec 2022 03:27:32 +0000 Subject: Rename IRC.{Message,Trigger} to Nola.{Message,Trigger}, refs T77. --- lib/irc/puppet_connection.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/irc/puppet_connection.ex') diff --git a/lib/irc/puppet_connection.ex b/lib/irc/puppet_connection.ex index 75a06f3..2604876 100644 --- a/lib/irc/puppet_connection.ex +++ b/lib/irc/puppet_connection.ex @@ -152,7 +152,7 @@ defmodule IRC.PuppetConnection do reply_fun = fn(text) -> IRC.Connection.broadcast_message(state.network, channel, text) end - message = %IRC.Message{id: FlakeId.get(), at: NaiveDateTime.utc_now(), text: text, network: state.network, account: account, sender: sender, channel: channel, replyfun: reply_fun, trigger: IRC.Connection.extract_trigger(text), meta: meta} + message = %Nola.Message{id: FlakeId.get(), at: NaiveDateTime.utc_now(), text: text, network: state.network, account: account, sender: sender, channel: channel, replyfun: reply_fun, trigger: IRC.Connection.extract_trigger(text), meta: meta} message = case Nola.UserTrack.messaged(message) do :ok -> message {:ok, message} -> message -- cgit v1.2.3