diff options
| author | 2019-03-06 14:30:33 +0000 | |
|---|---|---|
| committer | 2019-03-06 14:30:33 +0000 | |
| commit | ed3fc0e5d4c964dfe606726365183ccc51ccade3 (patch) | |
| tree | bd3613dc16bc1a777e4ee6c8b8b77fa7cf275607 /modules/channel_log | |
| parent | Expose 'log' channel setting to !channelset (diff) | |
| signature | ||
don't utils.irc.parse_format in format_activity.py, so we don't have to use
raw_line in channel_log
Diffstat (limited to 'modules/channel_log')
| -rw-r--r-- | modules/channel_log/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/channel_log/__init__.py b/modules/channel_log/__init__.py index 80a5c427..b7cc46bf 100644 --- a/modules/channel_log/__init__.py +++ b/modules/channel_log/__init__.py @@ -15,7 +15,7 @@ class Module(ModuleManager.BaseModule): if channel.get_setting("log", False): with self._log_file(str(event["server"]), str(channel)) as log: timestamp = datetime.datetime.now().strftime("%x %X") - log.write("%s %s\n" % (timestamp, event["raw_line"])) + log.write("%s %s\n" % (timestamp, event["line"])) @utils.hook("formatted.message.channel") @utils.hook("formatted.notice.channel") |
