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

Skip MinRealmListDelay check on first connection #2848

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

schell244
Copy link
Contributor

@schell244 schell244 commented Dec 12, 2024

🍰 Pullrequest

Fixes error user %s IP %s is sending CMD_REALM_LIST too frequently on first login due to value m_lastRealmListRequest not being set before.

How2Test

  • create a new account
  • login
  • check auth server log

Todo / Checklist

  • None

@ratkosrb
Copy link
Contributor

Shouldn't this be a time_t not uint32?

@0blu
Copy link
Collaborator

0blu commented Dec 13, 2024

We could also use std::chrono::steady_clock

@ratkosrb ratkosrb merged commit 9e3f0e1 into vmangos:native Dec 13, 2024
3 checks passed
@schell244 schell244 deleted the native_fix branch December 13, 2024 15:21
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.

3 participants