diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 03:27:32 +0000 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 19:29:42 +0100 |
commit | a2e3a9e6fcab2e32e0ca208d8242e8d6812a67df (patch) | |
tree | 4dd596a3a8a9025137d7723107d794ec9e329d06 /lib/plugins/correction.ex | |
parent | Finish moving things from IRC. to Nola., refs T77 (diff) |
Rename IRC.{Message,Trigger} to Nola.{Message,Trigger}, refs T77.
Diffstat (limited to 'lib/plugins/correction.ex')
-rw-r--r-- | lib/plugins/correction.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/correction.ex b/lib/plugins/correction.ex index 067f468..b50733b 100644 --- a/lib/plugins/correction.ex +++ b/lib/plugins/correction.ex @@ -17,11 +17,11 @@ defmodule Nola.Plugins.Correction do end # Trigger fallback - def handle_info({:irc, :trigger, _, m = %IRC.Message{}}, state) do + def handle_info({:irc, :trigger, _, m = %Nola.Message{}}, state) do {:noreply, correction(m, state)} end - def handle_info({:irc, :text, m = %IRC.Message{}}, state) do + def handle_info({:irc, :text, m = %Nola.Message{}}, state) do {:noreply, correction(m, state)} end |