also do .format(**) when there's no user object

This commit is contained in:
jesopo 2020-01-20 13:19:47 +00:00
parent 0eb92278cc
commit 50be75a5e2

View file

@ -15,6 +15,7 @@ class Module(ModuleManager.BaseModule):
if user: if user:
formatting["~NICK"] = user.nickname formatting["~NICK"] = user.nickname
line = line.format(**formatting) line = line.format(**formatting)
minimal = minimal.format(**formatting) minimal = minimal.format(**formatting)