Correct the message in debugging when unjailing

The debug message was set to always say mysql database instead of what
it really was, sqlite or mysql.
This commit is contained in:
graywolf336 2015-07-23 14:31:36 -05:00
parent 890923fca7
commit 1648c04745

View File

@ -1085,7 +1085,7 @@ public class JailIO {
PreparedStatement pp = getConnection().prepareStatement("delete from `" + prefix + "prisoners` where uuid = ?");
pp.setString(1, p.getUUID().toString());
pl.debug("Removing " + p.getLastKnownName() + " (" + p.getUUID().toString() + ") from MySQL database.");
pl.debug("Removing " + p.getLastKnownName() + " (" + p.getUUID().toString() + ") from " + (storage == 2 ? "MySQL" : "SQLite") + " database.");
pp.executeUpdate();
pp.close();