Commit Graph

15 Commits

Author SHA1 Message Date
Dorian Wouters 5c758ba5b1
Put table existence check into a function 2017-06-01 17:38:07 -04:00
Dorian Wouters 79699b500c
Include player name in error reports; log auth.txt import start/end 2016-08-25 22:10:01 +02:00
Dorian Wouters b2670cae08
Fix attempt for "commands out of sync" 2016-08-23 21:12:50 +02:00
Dorian Wouters e0f24649ad
Add automatic auth.txt import upon auth table creation 2016-08-23 16:58:56 +02:00
Dorian Wouters 4a322bb91d
Add delete_auth function 2016-08-23 11:59:19 +02:00
Dorian Wouters 5cebbaf03c
Add auth enumeration func, fix cdata being returned as last_login 2016-08-22 17:06:12 +02:00
Dorian Wouters 333fc8916e
Update admin's privs in the DB when calling get_auth (1-time) 2016-08-22 12:52:32 +02:00
Dorian Wouters 09b4809eb8
Set lastlogin when creating an auth entry 2016-08-22 12:29:47 +02:00
Dorian Wouters ff6bcb377e
Don't create closures in pcalls 2016-08-20 16:20:53 +02:00
Dorian Wouters d996c6a61b
Try to fix MySQL connection dropping + ping DB every half hour 2016-08-20 16:14:56 +02:00
Dorian Wouters 1c1defd8f3
Remove erroneous error when get_auth returns no rows 2016-08-19 18:07:58 +02:00
Dorian Wouters cd784a5842
Add minetest.deserialize error reporting (failed config parsing) 2016-08-19 17:32:12 +02:00
Dorian Wouters 84fff7e863
Better error reporting upon unexpected affected_rows 2016-08-18 11:55:15 +02:00
Dorian Wouters 52d07a9382
Add singleplayer & admin handling; try to fix prepared stmt bug 2016-08-18 11:37:25 +02:00
Dorian Wouters f8633c7f01
Init commit 2016-08-16 15:05:34 +02:00