aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_op.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/channel_op.py')
-rw-r--r--modules/channel_op.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py
index a4ef250f..9d6d08d9 100644
--- a/modules/channel_op.py
+++ b/modules/channel_op.py
@@ -31,7 +31,7 @@ class Module(ModuleManager.BaseModule):
if args and args[0][0] == "+":
if len(args[1:]) < min_args:
raise utils.EventError("Not enough arguments")
- time = utils.from_pretty_time(args[0][1:])
+ time = utils.datetime.from_pretty_time(args[0][1:])
if time == None:
raise utils.EventError("Invalid timeframe")
return time, args[1:]