'Removes a nickname, and all associated aliases and settings.'

def delete_nick_group(self, nick):

    nick = Identifier(nick)
    nick_id = self.get_nick_id(nick, False)
    self.execute(u'DELETE    FROM    nicknames    WHERE    nick_id    =    ?', [nick_id])
    self.execute(u'DELETE    FROM    nick_values    WHERE    nick_id    =    ?', [nick_id])
