from common import log, queries

def process_event(self, connection, event):
    log.info(event) # Log to console.

    queries.save_channel_key(self, channel.name, event.arguments[0])
    Inform.owners(self, connection, "keyset " + font.green + event.arguments[0] + reset.reset + " from " + font.red + event.source)
