mirror of https://github.com/Mikaela/Limnoria.git
Fix for non-persistence of observers.
This commit is contained in:
parent
9a3d196986
commit
4a0cefc9ab
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue