aboutsummaryrefslogtreecommitdiff
path: root/modules/fake_echo.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-27 10:19:00 +0000
committerGravatar jesopo2019-10-27 10:19:00 +0000
commit8f4b5a0e70804f8f19f8b9032b7d93857cda40e8 (patch)
treec522c8a04f4173cfc104796dd5cf942f2c44a0fb /modules/fake_echo.py
parentfallback ActivityPub data encoding to utf8 (diff)
move IRCLine related code from utils.irc to IRCLine.py
Diffstat (limited to 'modules/fake_echo.py')
-rw-r--r--modules/fake_echo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fake_echo.py b/modules/fake_echo.py
index ff0b9c40..bb7fbf43 100644
--- a/modules/fake_echo.py
+++ b/modules/fake_echo.py
@@ -4,7 +4,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("raw.send.privmsg", priority=EventManager.PRIORITY_MONITOR)
@utils.hook("raw.send.notice", priority=EventManager.PRIORITY_MONITOR)
def send_message(self, event):
- our_hostmask = utils.irc.parse_hostmask(event["server"].hostmask())
+ our_hostmask = IRCLine.parse_hostmask(event["server"].hostmask())
echo = IRCLine.ParsedLine(event["line"].command, event["line"].args,
source=our_hostmask, tags=event["line"].tags)