Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(docs): typo in comment #69

Merged
merged 1 commit into from
Sep 16, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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