From 8f4b5a0e70804f8f19f8b9032b7d93857cda40e8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 27 Oct 2019 10:19:00 +0000 Subject: move IRCLine related code from utils.irc to IRCLine.py --- modules/fake_echo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/fake_echo.py') 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) -- cgit v1.3.1-10-gc9f91