Fix for non-persistence of observers.

This commit is contained in:
Jeremy Fincher 2004-11-28 08:20:32 +00:00
parent 9a3d196986
commit 4a0cefc9ab

View File

@ -97,6 +97,8 @@ class Observer(callbacks.Privmsg):
def __init__(self): def __init__(self):
self.__parent = super(Observer, self) self.__parent = super(Observer, self)
self.__parent.__init__() self.__parent.__init__()
for name in self.registryValue('observers'):
registerObserver(name)
def callCommand(self, *args, **kwargs): def callCommand(self, *args, **kwargs):
self.commandCalled = True self.commandCalled = True