aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar dngfx2018-08-31 14:00:09 +0100
committerGravatar dngfx2018-08-31 14:00:09 +0100
commit309b119ec59f31b586461d4d407d9fdba25f2521 (patch)
tree9aca9d408ca68dcbc6b1bda3a4220ebae5df7110 /modules
parentDecoy Fiddling (diff)
That commit was just a decoy.
Diffstat (limited to 'modules')
-rw-r--r--modules/ducks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ducks.py b/modules/ducks.py
index 0e719481..606819ad 100644
--- a/modules/ducks.py
+++ b/modules/ducks.py
@@ -196,7 +196,7 @@ class Module(object):
event["channel"].send_message(random.choice(ducks))
def set_decoy(self, event):
- channel = event
+ channel = event["target"]
next_decoy_time = self.decoy_time()
self.events.on("timer").on("duck-decoy").hook(self.duck_decoy)