Age | Commit message (Collapse) | Author |
|
reboot) script.
The server errored out if the database was empty and there came a request, as it didn't check for empty arrays in dbparse.js in the function getRandomIndex. Fixed by adding handling & recursion limit. Added in init.sh a check to see if logging in to MySQL is possible to prevent errors at startup.
|
|
|
|
|
|
The shift updation algorithm was a pain to debug, so I changed it to use regex. I hope it helps.
|
|
Really messy, feel free to improve, or even rewrite.
|
|
|
|
Some polishing wouldn't do bad though...
|
|
|