Fixed SQL query. Not everone uses a table called characters.

Signed-off-by: SkyFire <admin@projectskyfire.org>