Ensure that USERNAME_DB is a dictionary before calling .get() in the uname_stuff function. This prevents runtime errors when the database returns a string or unexpected type, improving the stability of username logging and update handling.
8.6 KiB
8.6 KiB