IRCBuffer.add_notice doesn't have an action param

This commit is contained in:
jesopo 2018-11-14 22:16:39 +00:00
parent ac87104151
commit 21b757dbb0

View file

@ -482,7 +482,7 @@ class Module(ModuleManager.BaseModule):
else:
# a notice we've sent to a user
user = event["server"].get_user(target)
user.buffer.add_message(None, message, action, event["tags"], True)
user.buffer.add_message(None, message, event["tags"], True)
self._event(event, "notice.private", user=user, **kwargs)
# IRCv3 TAGMSG, used to send tags without any other information