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.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/fake_echo.py b/modules/fake_echo.py
deleted file mode 100644
index bb7fbf43..00000000
--- a/modules/fake_echo.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from src import EventManager, IRCLine, ModuleManager, utils
-
-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 = IRCLine.parse_hostmask(event["server"].hostmask())
-
- 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"])