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

Fix NPEs thrown when the statistics feature is enabled #13

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

MisterVector
Copy link

When a client connects to the JBLS server with the statistics feature enabled and a misconfigured database, the database object ends up not being initialized. When the statistics class gets called via the onBotLogin(), onCheckRevision() and onConnection() methods, an NPE will be thrown. This fixes that.

feature is enabled, and the database is misconfigured
@tagban
Copy link

tagban commented Jan 9, 2024

I dunno Vector... this seemed to turn my computer into a giant advertisement for Pork Bao Rolls..

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