From f9d21c2b10f4fdf543cde5ca5b751ac2310ed73d Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 9 Jun 2018 10:44:36 -0700 Subject: [PATCH] UserMapping: fix wrong args to __copy__ --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 83b74ac..0074792 100644 --- a/classes.py +++ b/classes.py @@ -219,7 +219,7 @@ class UserMapping(collections.abc.MutableMapping, structures.CopyWrapper): return self._data.__contains__(key) def __copy__(self): - return self.__class__(data=self._data.copy()) + return self.__class__(self._irc, data=self._data.copy()) class PyLinkNetworkCore(structures.CamelCaseToSnakeCase): """Base IRC object for PyLink."""