aboutsummaryrefslogtreecommitdiff
path: root/src/IRCBuffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/IRCBuffer.py')
-rw-r--r--src/IRCBuffer.py3
1 files changed, 2 insertions, 1 deletions
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):