summaryrefslogtreecommitdiff
path: root/lib/lsg_irc/user_mention_plugin.ex
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/lsg_irc/user_mention_plugin.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/lsg_irc/user_mention_plugin.ex b/lib/lsg_irc/user_mention_plugin.ex
index ca743c4..eb230fd 100644
--- a/lib/lsg_irc/user_mention_plugin.ex
+++ b/lib/lsg_irc/user_mention_plugin.ex
@@ -1,4 +1,4 @@
-defmodule LSG.IRC.UserMentionPlugin do
+defmodule Nola.IRC.UserMentionPlugin do
@moduledoc """
# mention
@@ -31,13 +31,13 @@ defmodule LSG.IRC.UserMentionPlugin do
cond do
telegram ->
- LSG.Telegram.send_message(telegram, "`#{channel}` <**#{sender.nick}**> #{Enum.join(content, " ")}")
+ Nola.Telegram.send_message(telegram, "`#{channel}` <**#{sender.nick}**> #{Enum.join(content, " ")}")
sms ->
- case LSG.IRC.SmsPlugin.send_sms(sms, text) do
+ case Nola.IRC.SmsPlugin.send_sms(sms, text) do
{:error, code} -> message.replyfun("#{sender.nick}: erreur #{code} (sms)")
end
true ->
- LSG.IRC.TellPlugin.tell(message, nick, content)
+ Nola.IRC.TellPlugin.tell(message, nick, content)
end
else
message.replyfun.("#{nick} m'est inconnu")