@utils.hook shouldn't be in line_handler/message.py

This commit is contained in:
jesopo 2019-03-03 22:45:54 +00:00
parent 7a3db82300
commit 4aa9a06635

View file

@ -135,8 +135,6 @@ def notice(events, event):
user.buffer.add_notice(user_nickname, message, event["tags"], user.buffer.add_notice(user_nickname, message, event["tags"],
True) True)
# IRCv3 TAGMSG, used to send tags without any other information
@utils.hook("raw.received.tagmsg")
def tagmsg(events, event): def tagmsg(events, event):
from_self = _from_self(event["server"], event["direction"], from_self = _from_self(event["server"], event["direction"],
event.get("prefix", None)) event.get("prefix", None))