aboutsummaryrefslogtreecommitdiff
path: root/modules/fake_echo.py
diff options
context:
space:
mode:
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 88a73a5b..ff0b9c40 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.seperate_hostmask(event["server"].hostmask())
+ our_hostmask = utils.irc.parse_hostmask(event["server"].hostmask())
echo = IRCLine.ParsedLine(event["line"].command, event["line"].args,
source=our_hostmask, tags=event["line"].tags)