aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-02-10 13:27:49 +0000
committerGravatar jesopo2019-02-10 13:27:49 +0000
commitd5bb3c5405c98468ee34ad196eb28235bd708f5d (patch)
tree04f7476b29e1b772f0d75576334a669d463845bf /modules
parentDon't require client cert validation (rest_api.py) (diff)
signature
Have to refer to `timer.kwargs` to get kwargs (in.py)
Diffstat (limited to 'modules')
-rw-r--r--modules/in.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/in.py b/modules/in.py
index 2bef5adf..890dc680 100644
--- a/modules/in.py
+++ b/modules/in.py
@@ -66,7 +66,8 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("You do not have that many reminders")
timer = found[actual_index]
- event["stdout"].write("Reminder %d: %s" % (index, timer["message"]))
+ event["stdout"].write("Reminder %d: %s" % (index,
+ timer.kwargs["message"]))
else:
event["stdout"].write("%s: you have %d reminders" % (
event["user"].nickname, len(found)))