diff options
author | href <href@random.sh> | 2021-09-02 13:00:55 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-02 13:00:55 +0200 |
commit | 28ab854e9dbcd2e40fc4b7986f4e5dd303bf27a1 (patch) | |
tree | 62bda7f25e7d9282283fc8eca290f60d7d0d8c86 /lib/lsg_irc/say_plugin.ex | |
parent | lastfm: improvements, fixes (diff) |
improve puppets, fix uploads
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_irc/say_plugin.ex | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/lsg_irc/say_plugin.ex b/lib/lsg_irc/say_plugin.ex index c385e77..085ca92 100644 --- a/lib/lsg_irc/say_plugin.ex +++ b/lib/lsg_irc/say_plugin.ex @@ -62,8 +62,7 @@ defmodule LSG.IRC.SayPlugin do chan2 = String.replace(chan, "#", "") if (target == "#{net}/#{chan}" || target == "#{net}/#{chan2}" || target == chan || target == chan2) do if with_nick? do - connection = IRC.Connection.get_network(net) - IRC.PuppetConnection.send_message(account, connection, chan, text) + IRC.send_message_as(account, net, chan, text) else IRC.Connection.broadcast_message(net, chan, text) end |