else if( !strcmp( name, "blockuntil" ) ) { if( self->account->blockedUntil() > QDateTime::currentDateTime() ) return PyString_FromString( self->account->blockedUntil().toString().latin1() ); else return PyString_FromString( "" ); }
PyObject *wpAccount_getAttr( wpAccount *self, char *name ){	if( !strcmp( name, "acl" ) )		return PyString_FromString( self->account->acl().latin1() );	else if( !strcmp( name, "name" ) )		return PyString_FromString( self->account->login().latin1() );	else if( !strcmp( name, "password" ) )		return PyString_FromString( self->account->password().latin1() );	else if( !strcmp( name, "flags" ) )		return PyInt_FromLong( self->account->flags() );	else if( !strcmp( name, "characters" ) )	{		PyObject *list = PyList_New( 0 );		QValueVector< cChar* > characters = self->account->caracterList();		for( uint i = 0; i < characters.size(); ++i )			PyList_Append( list, PyGetCharObject( characters[i] ) );		return list;	}	else if( !strcmp( name, "lastlogin" ) )		return PyString_FromString( self->account->lastLogin().toString().latin1() );	else		return Py_FindMethod( wpAccountMethods, (PyObject*)self, name );}