there's no event
in bootstrap_channel
This commit is contained in:
parent
2fd92ce2fa
commit
8ac93d57f3
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ class Module(ModuleManager.BaseModule):
|
||||||
self.bootstrap_channel(event["channel"])
|
self.bootstrap_channel(event["channel"])
|
||||||
|
|
||||||
def bootstrap_channel(self, channel):
|
def bootstrap_channel(self, channel):
|
||||||
if not hasattr(event["channel"], "duck_active"):
|
if not hasattr(channel, "duck_active"):
|
||||||
event["channel"].duck_active = False
|
channel.duck_active = False
|
||||||
event["channel"].duck_lines = 0
|
channel.duck_lines = 0
|
||||||
|
|
||||||
def _activity(self, channel):
|
def _activity(self, channel):
|
||||||
self.bootstrap_channel(channel)
|
self.bootstrap_channel(channel)
|
||||||
|
|
Loading…
Reference in a new issue