Report 'Limnoria <foo>' instead of 'Limnoria Limnoria <foo>' as a version.

This commit is contained in:
Valentin Lorentz 2018-03-02 01:20:52 +01:00
parent af98c0c12e
commit c930edd943

View File

@ -817,7 +817,7 @@ def standardSubstitute(irc, msg, text, env=None):
'm': localtime[4], 'min': localtime[4], 'minute': localtime[4], 'm': localtime[4], 'min': localtime[4], 'minute': localtime[4],
's': localtime[5], 'sec': localtime[5], 'second': localtime[5], 's': localtime[5], 'sec': localtime[5], 'second': localtime[5],
'tz': time.strftime('%Z', localtime), 'tz': time.strftime('%Z', localtime),
'version': 'Limnoria %s' % version, 'version': version,
}) })
if irc: if irc:
vars.update({ vars.update({