From 566920070c197e74d757b7bd66f1cb37875d830b Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 14 May 2020 19:00:31 +0200 Subject: [PATCH] Fix regressions in 4046a1b201d062257fb6f90d67d0742710f2931a. --- plugins/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/__init__.py b/plugins/__init__.py index ea93268ac..738634cd9 100644 --- a/plugins/__init__.py +++ b/plugins/__init__.py @@ -448,10 +448,11 @@ class ChannelIdDatabasePlugin(callbacks.Plugin): nick = username.split('!')[0] # nick==username iff this is a registered user return template.substitute( id=record.id, - text=record.text, + text=utils.str.quoted(record.text), + userid=record.by, username=username, nick=nick, - at=record.at, + at=utils.str.timestamp(record.at), **self.typeSubstitutions(), )