summaryrefslogtreecommitdiff
path: root/lib/plugins/say.ex
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 15:03:45 +0000
committerJordan Bracco <href@random.sh>2022-12-20 19:29:42 +0100
commitd476f949136571a89eb0a1ada1a0e112c6a1dfb5 (patch)
treec96a18742428175c639fd14b1053b73615ab12e7 /lib/plugins/say.ex
parentchore: config example update, add version to footer, remove useless module, r... (diff)
Finish renaming IRC to Nola.Irc, refs T77.
Diffstat (limited to 'lib/plugins/say.ex')
-rw-r--r--lib/plugins/say.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/say.ex b/lib/plugins/say.ex
index 3df3ac8..114ca64 100644
--- a/lib/plugins/say.ex
+++ b/lib/plugins/say.ex
@@ -62,7 +62,7 @@ defmodule Nola.Plugins.Say do
chan2 = String.replace(chan, "#", "")
if (target == "#{net}/#{chan}" || target == "#{net}/#{chan2}" || target == chan || target == chan2) do
if with_nick? do
- IRC.send_message_as(account, net, chan, text)
+ Nola.Irc.send_message_as(account, net, chan, text)
else
Nola.Irc.Connection.broadcast_message(net, chan, text)
end