mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
ircutils: also map zfill'd versions of integers in mircColors
This commit is contained in:
parent
d06d744f11
commit
1b3a7b2d3e
@ -663,6 +663,7 @@ for (k, v) in mircColors.items():
|
||||
if k is not None: # Ignore empty string for None.
|
||||
sv = str(v)
|
||||
mircColors[sv] = sv
|
||||
mircColors[sv.zfill(2)] = sv
|
||||
|
||||
def standardSubstitute(irc, msg, text, env=None):
|
||||
"""Do the standard set of substitutions on text, and return it"""
|
||||
|
Loading…
Reference in New Issue
Block a user