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:
parent
0ae7eb2563
commit
f9d21c2b10
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user