diff --git a/src/IRCBuffer.py b/src/IRCBuffer.py index 5c0b75a2..c368660b 100644 --- a/src/IRCBuffer.py +++ b/src/IRCBuffer.py @@ -11,7 +11,8 @@ class BufferLine(object): tags: dict from_self: bool method: str - notes: typing.Dict[str, str] = {} + notes: typing.Dict[str, str] = dataclasses.field( + default_factory=dict) class BufferLineMatch(object): def __init__(self, line: BufferLine, match: str):