IRC Bot that logs to an SQL database