diff options
| -rw-r--r-- | bot/cogs/moderation/modlog.py | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/bot/cogs/moderation/modlog.py b/bot/cogs/moderation/modlog.py index 53ea4ebcb..4fbe39d7f 100644 --- a/bot/cogs/moderation/modlog.py +++ b/bot/cogs/moderation/modlog.py @@ -661,10 +661,8 @@ class ModLog(Cog, name="ModLog"):                      new = (f"{words[0] if index > 0 else ''}"                             " ... "                             f"{words[-1] if index < len(diff_groups) - 1 else ''}") -                else: -                    new = sub -                _before = _before.replace(sub, new) -                _after = _after.replace(sub, new) +                    _before = _before.replace(sub, new) +                    _after = _after.replace(sub, new)          response = (              f"**Author:** {author} (`{author.id}`)\n" | 
