'Removed command from the session'

def delCommand(self, name, jid=''):

    if (not self._handlers.has_key(jid)):
        raise NameError, 'Jid    not    found'
    if (not self._handlers[jid].has_key(name)):
        raise NameError, 'Command    not    found'
    else:
        command = self.getCommand(name, jid)['disco']
        del self._handlers[jid][name]
        self._browser.delDiscoHandler(command, node=name, jid=jid)
