aboutsummaryrefslogtreecommitdiff
path: root/modules/channel_log.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/channel_log.py')
-rw-r--r--modules/channel_log.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_log.py b/modules/channel_log.py
index 5f57a439..98ce59a0 100644
--- a/modules/channel_log.py
+++ b/modules/channel_log.py
@@ -27,7 +27,7 @@ class Module(ModuleManager.BaseModule):
def _log(self, server, channel, line):
if self._enabled(server, channel):
with open(self._file(str(server), str(channel)), "a") as log:
- timestamp = utils.datetime.datetime_human(
+ timestamp = utils.datetime.format.datetime_human(
datetime.datetime.now())
log.write("%s %s\n" % (timestamp, line))