aboutsummaryrefslogtreecommitdiff
path: root/modules/fake_echo.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-16 18:43:57 +0100
committerGravatar jesopo2019-09-16 18:43:57 +0100
commit334d580c57551cb0489ff334ad5e716c7c73f93e (patch)
treef00f955c9dc83f9c8218688447b4ec2cb7d05b83 /modules/fake_echo.py
parentupdate channel.topic_setter-related code (diff)
signature
'seperate_hostmask()' -> 'parse_hostmask()'
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)