aboutsummaryrefslogtreecommitdiff
path: root/modules/msgid.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-03 12:44:04 +0100
committerGravatar jesopo2019-06-03 12:44:04 +0100
commit9a8b345c53e852d7092197cee084d0d3c02bc0ff (patch)
tree408c6833c2f4de7198c354043c8ca265c0616901 /modules/msgid.py
parentCheck from_self, not if target==is_own_nickname, use from_self when adding to (diff)
signature
Prefix names for all IRCv3 modules with "ircv3_"
Diffstat (limited to 'modules/msgid.py')
-rw-r--r--modules/msgid.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/msgid.py b/modules/msgid.py
deleted file mode 100644
index 7edeed78..00000000
--- a/modules/msgid.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from src import ModuleManager, utils
-
-TAG = utils.irc.MessageTag("msgid", "draft/msgid")
-
-class Module(ModuleManager.BaseModule):
- @utils.hook("received.message.channel")
- #TODO: catch CTCPs
- @utils.hook("received.notice.channel")
- @utils.hook("received.tagmsg.channel")
- def on_channel(self, event):
- msgid = TAG.get_value(event["tags"])
- if not msgid == None:
- event["channel"].set_setting("last-msgid", msgid)