3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

UserMapping: fix wrong args to __copy__

This commit is contained in:
James Lu 2018-06-09 10:44:36 -07:00
parent 0ae7eb2563
commit f9d21c2b10

View File

@ -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."""