diff --git a/classes.py b/classes.py index 9216063..cdb57f4 100644 --- a/classes.py +++ b/classes.py @@ -6,6 +6,7 @@ import threading import ssl from collections import defaultdict import hashlib +from copy import deepcopy from log import log from conf import conf @@ -333,6 +334,9 @@ class IrcChannel(): s.discard(target) self.users.discard(target) + def deepcopy(self): + return deepcopy(self) + ### FakeIRC classes, used for test cases class FakeIRC(Irc):