ad db functionality to irc