diff options
| author | 2019-06-22 12:17:45 +0100 | |
|---|---|---|
| committer | 2019-06-22 12:17:45 +0100 | |
| commit | 7174e83f149ba402e37fed00f23efd2f61f2e063 (patch) | |
| tree | 6c827df39131982ac63742b105f7fa329417cb46 /modules/fake_echo.py | |
| parent | Cache ParsedLine IDs of relay messages so we can ignore them (avoid loop) (diff) | |
| signature | ||
Change raw.send and raw.receive commands to just pass around ParsedLines
Diffstat (limited to 'modules/fake_echo.py')
| -rw-r--r-- | modules/fake_echo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/fake_echo.py b/modules/fake_echo.py index 8177fde5..88a73a5b 100644 --- a/modules/fake_echo.py +++ b/modules/fake_echo.py @@ -6,8 +6,8 @@ class Module(ModuleManager.BaseModule): def send_message(self, event): our_hostmask = utils.irc.seperate_hostmask(event["server"].hostmask()) - echo = IRCLine.ParsedLine(event["command"], event["args"], - source=our_hostmask, tags=event["tags"]) + echo = IRCLine.ParsedLine(event["line"].command, event["line"].args, + source=our_hostmask, tags=event["line"].tags) echo.id = event["line"].id self.events.on("raw.received").call(line=echo, server=event["server"]) |
