aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-03 15:44:13 +0100
committerGravatar jesopo2019-05-03 15:44:13 +0100
commit8ac93d57f37b779cd68a5f90d5650cd07e4a671a (patch)
treea18d53776d7688809575e5100e388fe011cb7e8a /modules
parentbootstrap old channels for ducks.py (diff)
signature
there's no `event` in bootstrap_channel
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index 601565ac..b617929b 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -18,9 +18,9 @@ class Module(ModuleManager.BaseModule):
self.bootstrap_channel(event["channel"])
def bootstrap_channel(self, channel):
- if not hasattr(event["channel"], "duck_active"):
- event["channel"].duck_active = False
- event["channel"].duck_lines = 0
+ if not hasattr(channel, "duck_active"):
+ channel.duck_active = False
+ channel.duck_lines = 0
def _activity(self, channel):
self.bootstrap_channel(channel)