Skip to content

Commit

Permalink
chore(docs): typo in comment (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
stormcone committed Sep 16, 2022
1 parent 97ffdab commit d70de99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dibridge/irc.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _sanitize_discord_username(self, discord_username):
# On Discord you can create usernames that don't contain any character valid
# on IRC, leaving an empty username. In that case we have no option but to
# replace it with a default placeholder. To make sure the names are somewhat
# stable over multiple runs, we user a partial of the MD5 of the original
# stable over multiple runs, we use a partial of the SHA256 of the original
# discord name. It is not perfect, but at least it is better than nothing.
if discord_username == "":
postfix = hashlib.sha256(original_discord_username.encode()).hexdigest()
Expand Down

0 comments on commit d70de99

Please sign in to comment.