Fix regressions in 4046a1b201.

This commit is contained in:
Valentin Lorentz 2020-05-14 19:00:31 +02:00
parent 7444e656d8
commit 566920070c

View File

@ -448,10 +448,11 @@ class ChannelIdDatabasePlugin(callbacks.Plugin):
nick = username.split('!')[0] # nick==username iff this is a registered user nick = username.split('!')[0] # nick==username iff this is a registered user
return template.substitute( return template.substitute(
id=record.id, id=record.id,
text=record.text, text=utils.str.quoted(record.text),
userid=record.by,
username=username, username=username,
nick=nick, nick=nick,
at=record.at, at=utils.str.timestamp(record.at),
**self.typeSubstitutions(), **self.typeSubstitutions(),
) )