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

Modlog: Don't include main account in list of alts #4873

Merged
merged 1 commit into from
Sep 25, 2018

Conversation

asgdf
Copy link
Contributor

@asgdf asgdf commented Sep 25, 2018

Currently, all modlog entries look like "LOCK: [username] alts:[username], [...]".
Ultimately this is because of the second argument in Users#getAltUsers(), if it's true then it always includes the main target in its list. However, there's a bunch of other behavior tied to that flag, so I don't think I should jut set that to false and instead just cut out the superpluous name manually.

@Zarel Zarel merged commit 63ad355 into smogon:master Sep 25, 2018
@asgdf asgdf deleted the modlog-main-as-alt branch September 25, 2018 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants