diff options
| author | 2019-05-03 15:44:13 +0100 | |
|---|---|---|
| committer | 2019-05-03 15:44:13 +0100 | |
| commit | 8ac93d57f37b779cd68a5f90d5650cd07e4a671a (patch) | |
| tree | a18d53776d7688809575e5100e388fe011cb7e8a /modules | |
| parent | bootstrap old channels for ducks.py (diff) | |
| signature | ||
there's no `event` in bootstrap_channel
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ducks.py | 6 |
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) |
