'Returns the command tuple'

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

    if (not self._handlers.has_key(jid)):
        raise NameError, 'Jid    not    found'
    elif (not self._handlers[jid].has_key(name)):
        raise NameError, 'Command    not    found'
    else:
        return self._handlers[jid][name]
